Skip to content

Commit

Permalink
Add file extension to custom path part
Browse files Browse the repository at this point in the history
  • Loading branch information
SiggiSmara committed Nov 16, 2019
1 parent 75e6590 commit 2968f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elodie/filesystem.py
Expand Up @@ -417,7 +417,7 @@ def get_dynamic_path(self, part, mask, metadata):
place_name,
)
return parsed_folder_name
elif part in ('album', 'camera_make', 'camera_model'):
elif part in ('album', 'camera_make', 'camera_model', 'extension'):
if metadata[part]:
return metadata[part]
elif part.startswith('"') and part.endswith('"'):
Expand Down

0 comments on commit 2968f80

Please sign in to comment.