Fixes message order

action-support
sloumdrone 3 years ago
parent 4de746b9c2
commit befdc1f343
  1. 2
      gab

2
gab

@ -30,6 +30,8 @@ def list_messages(count="5"):
if len(sorted_keys) > 0:
sorted_keys.sort(reverse=True)
last_time = float(sorted_keys[0])
sorted_keys = sorted_keys[:min(len(sorted_keys), count)]
sorted_keys.sort(reverse=False)
print(title)
print("Last message: {}".format(diff_time_from_now(last_time)))
print("\n- - - - - - - - - - - - - - -\n")

Loading…
Cancel
Save