Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chen310 committed Feb 25, 2022
1 parent c54b3db commit 082e960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions task/publishMlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def start(user, task={}):
resp = music.mlog_pub(token, size, size, songId, songName, text)
if resp['code'] != 200:
user.taskInfo(task['taskName'], user.errMsg(resp))
os.remove(filepath)
return

if task.get('delete', True) == True:
time.sleep(0.5)
Expand Down

0 comments on commit 082e960

Please sign in to comment.