mirror of
https://github.com/krateng/maloja.git
synced 2025-07-09 03:04:07 -04:00
Fix GH-239
This commit is contained in:
parent
5ba8df9677
commit
7c5099da8d
@ -137,8 +137,8 @@ def remove_image_from_cache(track_id=None,artist_id=None,album_id=None):
|
|||||||
result = conn.execute(op).all()
|
result = conn.execute(op).all()
|
||||||
|
|
||||||
for row in result:
|
for row in result:
|
||||||
targetpath = data_dir['cache']('images',row.localproxyurl.split('/')[-1])
|
|
||||||
try:
|
try:
|
||||||
|
targetpath = data_dir['cache']('images',row.localproxyurl.split('/')[-1])
|
||||||
os.remove(targetpath)
|
os.remove(targetpath)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user