Sort servers by sid for consistent output

This commit is contained in:
Thor77 2016-11-23 21:09:11 +01:00
parent ef66b45e21
commit ba47122f50
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def main(configuration):
online_dc=configuration.getboolean('General', 'onlinedc') online_dc=configuration.getboolean('General', 'onlinedc')
) )
render_servers( render_servers(
servers, sorted(servers, key=lambda s: s.sid),
output=abspath(configuration.get('General', 'output')), output=abspath(configuration.get('General', 'output')),
template=configuration.get('General', 'template'), template=configuration.get('General', 'template'),
datetime_fmt=configuration.get('General', 'datetimeformat'), datetime_fmt=configuration.get('General', 'datetimeformat'),