Update SyntaxError

This commit is contained in:
bigJIU 2023-04-10 20:36:52 +08:00
parent a6166f4f60
commit 22ed80ffaf

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import json import json
import os import os
import struct import struct
@ -10,7 +11,7 @@ import logging
# 设置logging模块 # 设置logging模块
logging.basicConfig(filename='log.txt', level=logging.DEBUG) logging.basicConfig(filename='log.txt', level=logging.DEBUG)
#将print输出重定向到logging模块 # 将print输出重定向到logging模块
print = logging.getLogger().info print = logging.getLogger().info
app = Flask(__name__, static_folder='') app = Flask(__name__, static_folder='')