mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-12 10:08:47 -04:00
Sort servers by sid for consistent output
This commit is contained in:
parent
ef66b45e21
commit
ba47122f50
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue