From 870a0f7084c87568c0ff73c5d2c9ea1d44a65949 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 10 Jul 2022 11:32:53 +0200 Subject: [PATCH] fix 500 errors --- files/helpers/sorting_and_time.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/sorting_and_time.py b/files/helpers/sorting_and_time.py index f40835c12b..6663b87278 100644 --- a/files/helpers/sorting_and_time.py +++ b/files/helpers/sorting_and_time.py @@ -1,6 +1,7 @@ import time from files.classes.comment import Comment from files.classes.submission import Submission +from files.helpers.const import * def apply_time_filter(t, objects, Class): now = int(time.time())