避免沙雕注释
This commit is contained in:
parent
ba40134219
commit
9f075077ba
@ -225,9 +225,10 @@ def SubThread():
|
||||
t.start()
|
||||
|
||||
|
||||
# p = threading.Thread(target=SubThread)
|
||||
# p.setDaemon(True)
|
||||
# p.start()
|
||||
if not app.debug:
|
||||
p = threading.Thread(target=SubThread)
|
||||
p.setDaemon(True)
|
||||
p.start()
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
|
Reference in New Issue
Block a user