From 7861141c307afd1193bd4e6abe20111365a3348e Mon Sep 17 00:00:00 2001 From: blacktwin Date: Mon, 13 Nov 2017 12:53:33 -0500 Subject: [PATCH] Oops --- killstream/time_limit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/killstream/time_limit.py b/killstream/time_limit.py index 23ed8f0..f45ca08 100644 --- a/killstream/time_limit.py +++ b/killstream/time_limit.py @@ -82,10 +82,10 @@ def kill_session(user): if TIME_LIMIT[username]['d']: total_time += TIME_LIMIT[username]['d'] * (24 * 60 * 60) -if TIME_LIMIT[username]['m']: - total_time += TIME_LIMIT[username]['m'] * (60 * 60) if TIME_LIMIT[username]['h']: - total_time += TIME_LIMIT[username]['h'] * 60 + total_time += TIME_LIMIT[username]['h'] * (60 * 60) +if TIME_LIMIT[username]['m']: + total_time += TIME_LIMIT[username]['m'] * 60 if get_get_history(username) > total_time: