diff --git a/.gitignore b/.gitignore index 4ba6258..eb2b71e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ build/** **/*.nef **/*.rw2 env/** +/tags diff --git a/elodie.py b/elodie.py index 98b1487..3540fdb 100755 --- a/elodie.py +++ b/elodie.py @@ -312,7 +312,6 @@ def _update(album, location, time, title, paths, debug): media.set_album(album, current_file) updated = True - import ipdb; ipdb.set_trace() # Updating a title can be problematic when doing it 2+ times on a file. # You would end up with img_001.jpg -> img_001-first-title.jpg -> # img_001-first-title-second-title.jpg. @@ -363,7 +362,7 @@ def _update(album, location, time, title, paths, debug): result.append((current_file, False)) result.write() - + if has_errors: sys.exit(1) diff --git a/elodie/filesystem.py b/elodie/filesystem.py index 7cd824a..58711db 100644 --- a/elodie/filesystem.py +++ b/elodie/filesystem.py @@ -651,6 +651,7 @@ class FileSystem(object): # If source and destination are identical then # we should not write the file. gh-210 + # TODO Allow this for update? if(_file == dest_path): print('Final source and destination path should not be identical') return