mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 18:47:26 +08:00
[Bug fix][Refactor] Course scores & Download
- Fix a bug that scores in course mode cannot calculate rating - Make some optimization for downloading songs
This commit is contained in:
@@ -35,8 +35,6 @@ def download_song(user_id):
|
||||
x.url_flag = json.loads(request.args.get('url', 'true'))
|
||||
if x.url_flag and x.is_limited:
|
||||
raise RateLimit('You have reached the download limit.', 903)
|
||||
if x.url_flag:
|
||||
x.clear_download_token()
|
||||
|
||||
x.add_songs()
|
||||
return success_return(x.urls)
|
||||
|
||||
Reference in New Issue
Block a user