fix: if disk will full , delete some record file

This commit is contained in:
2019-04-10 21:11:40 +08:00
committed by JerryYan
parent e77fa5d6ad
commit 6c02b965b0
3 changed files with 9 additions and 11 deletions

View File

@ -198,14 +198,14 @@ def fileDownload(path):
def SubThread():
t = threading.Thread(target=RUN, args=(Common.config['l_u'],))
t = threading.Thread(target=RUN, args=())
t.setDaemon(True)
t.start()
while True:
if t.is_alive():
sleep(240)
else:
t = threading.Thread(target=RUN, args=(Common.config['l_u'],))
t = threading.Thread(target=RUN, args=())
t.setDaemon(True)
t.start()