mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-22 19:01:51 +08:00
remove debug lines
This commit is contained in:
parent
592e54dc9b
commit
c2ea4514ca
3
app.py
3
app.py
@ -167,9 +167,6 @@ def make_preview(song_id, song_type):
|
||||
song_path = 'public/songs/%s/main.mp3' % song_id
|
||||
prev_path = 'public/songs/%s/preview.mp3' % song_id
|
||||
|
||||
if os.path.isfile(prev_path):
|
||||
os.remove(prev_path)
|
||||
|
||||
if os.path.isfile(song_path) and not os.path.isfile(prev_path):
|
||||
preview = get_preview(song_id, song_type) / 1000
|
||||
if not preview or preview <= 0.1:
|
||||
|
Loading…
Reference in New Issue
Block a user