mirror of
https://github.com/krateng/maloja.git
synced 2025-04-16 16:52:18 +03: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()
|
||||
|
||||
for row in result:
|
||||
targetpath = data_dir['cache']('images',row.localproxyurl.split('/')[-1])
|
||||
try:
|
||||
targetpath = data_dir['cache']('images',row.localproxyurl.split('/')[-1])
|
||||
os.remove(targetpath)
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user