Merge pull request #35 from martokk/patch-1
adding support for .jpeg images
This commit is contained in:
commit
8e19725c92
|
@ -103,7 +103,7 @@ class File:
|
|||
|
||||
if self.ext == '.pdf':
|
||||
self.type = 'pdf'
|
||||
elif self.ext in ('.jpg', '.png', '.gif'):
|
||||
elif self.ext in ('.jpg', '.jpeg', '.png', '.gif'):
|
||||
self.type = 'image'
|
||||
else:
|
||||
self.type = 'other'
|
||||
|
|
Loading…
Reference in New Issue