优化因退出而导致的投稿日期不变的问题,优化因下拨后下载进程退出而房间信息未更新的问题
This commit is contained in:
parent
708218d34a
commit
567bf5f002
@ -76,7 +76,8 @@ def encode():
|
||||
Common.uploadQueue.put(i)
|
||||
|
||||
|
||||
def upload(date=datetime.strftime(datetime.now(), "%Y_%m_%d")):
|
||||
def upload():
|
||||
date=datetime.strftime(datetime.now(), "%Y_%m_%d")
|
||||
Common.appendUploadStatus("Upload Daemon Starting")
|
||||
i = Common.uploadQueue.get()
|
||||
while True:
|
||||
@ -132,6 +133,7 @@ def awakeDownload():
|
||||
t = threading.Thread(target=download, args=())
|
||||
t.setDaemon(True)
|
||||
t.start()
|
||||
Common.api.updRoomInfo()
|
||||
return False
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user