diff options
| author | user <user@node5.net> | 2024-03-23 22:42:54 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-03-23 22:42:54 +0100 |
| commit | a16451a7a1a168d1362004ff951f73bb57c64e29 (patch) | |
| tree | e9709b559faee20cefb1a97d59da5c5dde264da9 /src | |
| parent | 1f22ef7a77a21a38d29feff621ba3a12ce60ea8f (diff) | |
sort graph by time
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssh_node5_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh_node5_net.py b/src/ssh_node5_net.py index e594f38..d2c38c9 100644 --- a/src/ssh_node5_net.py +++ b/src/ssh_node5_net.py @@ -64,7 +64,7 @@ def index(): top_passwords = db_handler.get_top('password') histogram = db_handler.get_histogram_detailed() - all_dates = list({d['date'] for d in histogram}) + all_dates = sorted(list({d['date'] for d in histogram})) by_ip = {} for d in histogram: if d['ip'] not in by_ip: |
