避免沙雕注释

This commit is contained in:
Jerry Yan 2019-04-17 22:49:50 +08:00 committed by JerryYan
parent ba40134219
commit 9f075077ba

View File

@ -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()