Fix new_photo, data[extension] to use new pathclass.Extension.
This commit is contained in:
parent
5da8d793d6
commit
1375d9fb26
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class PDBPhotoMixin:
|
|||
'id': photo_id,
|
||||
'filepath': filepath.absolute_path,
|
||||
'override_filename': None,
|
||||
'extension': filepath.extension,
|
||||
'extension': filepath.extension.no_dot,
|
||||
'created': helpers.now(),
|
||||
'tagged_at': None,
|
||||
'author_id': author_id,
|
||||
|
|
Loading…
Reference in a new issue