Skip to content

Commit

Permalink
代码放错地方了..
Browse files Browse the repository at this point in the history
  • Loading branch information
JxiaoC committed Apr 28, 2019
1 parent 2286385 commit 2742c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion animeMusic_server/helper/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def format_music_info(info):
info['play_url'] = GetSignUrl(info['id'])
info['type'] = info.get('type', '其他')
info['author'] = info.get('author', '未知')
if 'tietukuname' in info.keys(): info.pop('tietukuname')
info['recommend'] = True if info.get('recommend', False) else False
return info

Expand All @@ -49,6 +48,7 @@ def get_anime_info(animeid):
return {}
info = tb_anime.find_one({'_id': animeid})
info['id'] = str(info.pop('_id'))
if 'tietukuname' in info.keys(): info.pop('tietukuname')
return info


Expand Down

0 comments on commit 2742c55

Please sign in to comment.