Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Commit

Permalink
tweaks;
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddli committed Jan 16, 2016
1 parent 4e62264 commit 2bf933d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions version/gallerydb.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ def clear_thumb(path):
try:
if not os.path.samefile(path, app_constants.NO_IMAGE_PATH):
os.unlink(path)
except FileNotFoundError:
pass
except:
log.exception('Failed to delete thumb {}'.format(os.path.split(path)[1].encode(errors='ignore')))

Expand Down

0 comments on commit 2bf933d

Please sign in to comment.