mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 01:36:14 +08:00
typo
This commit is contained in:
parent
6a93ad2735
commit
992a44be36
2
app.py
2
app.py
@ -340,7 +340,7 @@ def route_admin_songs_id_delete(id):
|
||||
@app.cache.cached(timeout=15, query_string=True)
|
||||
def route_api_preview():
|
||||
song_id = request.args.get('id', None)
|
||||
if not song_id or not re.match('^[0-9]{1,9}}$', song_id):
|
||||
if not song_id or not re.match('^[0-9]{1,9}$', song_id):
|
||||
abort(400)
|
||||
|
||||
song_id = int(song_id)
|
||||
|
Loading…
Reference in New Issue
Block a user