()
This commit is contained in:
blacktwin 2017-11-13 12:51:55 -05:00 committed by GitHub
parent 77463adfd5
commit 53f418c64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,9 +81,9 @@ def kill_session(user):
if TIME_LIMIT[username]['d']:
total_time += TIME_LIMIT[username]['d'] * 24 * 60 * 60
total_time += TIME_LIMIT[username]['d'] * (24 * 60 * 60)
if TIME_LIMIT[username]['m']:
total_time += TIME_LIMIT[username]['m'] * 60 * 60
total_time += TIME_LIMIT[username]['m'] * (60 * 60)
if TIME_LIMIT[username]['h']:
total_time += TIME_LIMIT[username]['h'] * 60