Commit db0034f9 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix bug: psot info throws exceptions, due to data model changes

parent 290bf108
......@@ -88,11 +88,12 @@ def show_analyses(config):
print(' {0:<20} - {1}'.format(profile['name'], profile['info']))
if 'modules' in profile:
for module in profile['modules']:
print(' {0:<20}'.format(module))
print(' {0:<20}'.format(module['name']))
print()
print('Available modules for custom profile:')
for module in config['modules']:
for key in config['modules']:
module = config['modules'][key]
print(' {0:<20} - {1}'.format(module['name'], module['info']))
if __name__ == "__main__":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment