Search by path

This commit is contained in:
simon987
2018-04-15 20:53:05 -04:00
parent ba114cfa34
commit b454653d51
5 changed files with 181 additions and 127 deletions

View File

@@ -21,8 +21,8 @@ class ThumbnailGenerator:
try:
self.generate_image(path, dest_path)
except OSError:
print("Not an image " + path)
except Exception:
print("Couldn't make thumbnail for " + path)
elif mime.startswith("video"):
try: