diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 329ea785..1fc333a3 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -1700,7 +1700,7 @@ class PanelHandler(BaseHandler): # only check for time if it's number of days if interval_type == "days": sch_time = bleach.clean(self.get_argument("time", None)) - if interval > 30: + if int(interval) > 30: self.redirect( "/panel/error?error=Invalid argument." " Days must be 30 or fewer." @@ -1868,7 +1868,7 @@ class PanelHandler(BaseHandler): # only check for time if it's number of days if interval_type == "days": sch_time = bleach.clean(self.get_argument("time", None)) - if interval > 30: + if int(interval) > 30: self.redirect( "/panel/error?error=Invalid argument." " Days must be 30 or fewer."