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(): def install_builtin_applets():
logging.info("Install builtin applets") logging.info("Install builtin applets")
try: try:
management.call_command('install_builtin_applets', verbosity=0, interactive=False) management.call_command('install_builtin_applets', verbosity=0)
except: except Exception as e:
pass logging.error("Install builtin applets err: {}".format(e))
def upgrade_db(): def upgrade_db():