Skip to content

Commit

Permalink
Update publishMlog.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chen310 authored Mar 20, 2022
1 parent b7493ea commit 32f7ec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions task/publishMlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def start(user, task={}):

songId = random.choice(task['songId'])
song_resp = music.songs_detail([songId])
url = ''
if song_resp['code'] == 200 and len(song_resp['songs']) > 0:
song = song_resp['songs'][0]
songName = song['name']
Expand Down

0 comments on commit 32f7ec1

Please sign in to comment.