Added Media, Picture and Text file parsers

This commit is contained in:
simon987
2018-03-23 14:02:56 -04:00
parent b94fce4e0b
commit a8b5e0b76e
19 changed files with 613 additions and 25 deletions

View File

@@ -31,7 +31,8 @@ class ThumbnailGenerator:
)
self.generate_image("tmp", dest_path)
os.remove("tmp")
except:
except Exception as e:
print(e)
print("Couldn't make thumbnail for " + path)
# print(dest_path + " - " + str(os.path.getsize(dest_path))) # debug todo remove