diff --git a/hiddifypanel/panel/admin/Actions.py b/hiddifypanel/panel/admin/Actions.py index b94c788ef..19ec65c81 100644 --- a/hiddifypanel/panel/admin/Actions.py +++ b/hiddifypanel/panel/admin/Actions.py @@ -62,7 +62,7 @@ def reset(self): @route('reinstall', methods=['POST']) def reinstall(self,complete_install=True,domain_changed=False): - if hconfig(ConfigEnum.db_version)<9: + if int(hconfig(ConfigEnum.db_version))<9: return ("Please update your panel before this action.") if hconfig(ConfigEnum.parent_panel): try: