sort output

This commit is contained in:
Davide Alberani 2017-05-07 15:00:31 +02:00
parent 405c92903c
commit 028be2669e

View file

@ -27,7 +27,7 @@ def info(event):
data[dbkey] += 1
total += 1
print('Total registered: %d' % total)
for key, value in data.items():
for key, value in sorted(data.items()):
print('%s: %s' % (key, value))
print('')