Update to v2.3.2

This commit is contained in:
Lost-MSth
2021-04-09 14:42:14 +08:00
parent 62902a561c
commit 941a79ccc7
10 changed files with 160 additions and 91 deletions

View File

@@ -13,6 +13,7 @@ import web.index
import server.arcworld
import server.arcdownload
import server.arcpurchase
import server.init
import os
import sys
@@ -570,6 +571,11 @@ def main():
dictConfig(log_dict)
if not server.init.check_before_run(app):
app.logger.error('Something wrong. The server will not run.')
input('Press ENTER key to exit.')
sys.exit()
app.logger.info("Start to initialize data in 'songfile' table...")
try:
error = server.arcdownload.initialize_songfile()