fix: failed to install builtin applets

pull/9341/head^2
Eric 2023-01-19 13:44:42 +08:00 committed by Eric_Lee
parent ce1cb4214c
commit c27c55b429
1 changed files with 3 additions and 3 deletions

6
jms
View File

@ -126,9 +126,9 @@ def download_ip_db():
def install_builtin_applets():
logging.info("Install builtin applets")
try:
management.call_command('install_builtin_applets', verbosity=0, interactive=False)
except:
pass
management.call_command('install_builtin_applets', verbosity=0)
except Exception as e:
logging.error("Install builtin applets err: {}".format(e))
def upgrade_db():