Streamlined post form handlers for admin console

This commit is contained in:
2021-12-01 08:26:08 +00:00
parent 43989af1f1
commit 64f1da772a
18 changed files with 158 additions and 601 deletions

View File

@ -14,7 +14,7 @@ class Test:
self._id = _id
self.start_date = start_date
self.expiry_date = expiry_date
self.time_limit = None if time_limit == 'none' or time_limit == '' else int(time_limit)
self.time_limit = None if time_limit == 'none' or time_limit == '' or time_limit == None else int(time_limit)
self.creator = creator
self.dataset = dataset