Skip to content

Conversation

@DZamataev
Copy link
Contributor

Implements deleting duplicates on import with --delete-duplicates flag.

DZamataev and others added 10 commits December 26, 2018 16:21
…ish as accepted header to MapQuest requests and results in the response location names being mostly in English not their native country language.
* 'master' of github.com:jmathai/elodie:
  Add support for mts video files with H264:DateTimeOriginal create date field support (jmathai#295)
  Add support for customizing file name via config file. jmathai#107 jmathai#110 jmathai#111 (jmathai#225)
  Implements prefer english names setting for MapQuest API in config.ini (jmathai#290)
  Add support for a %custom placeholder for more complex folder names than %location or %date provide jmathai#279 (jmathai#283)

# Conflicts:
#	Readme.md
#	elodie/filesystem.py
_file,
checksum_file
))
if constants.delete_duplicates:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to import constants at the top of the file.
https://travis-ci.org/jmathai/elodie/jobs/488449125

_file,
checksum_file
))
if constants.delete_duplicates:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather include this check in delete_file() so it can be called in a safer manner from other spots if needed.


return False

def delete_file(self, file_path):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add tests for this including for when delete_duplicates is True and False.

@jmathai jmathai force-pushed the master branch 4 times, most recently from 3276ccf to 12c17c9 Compare July 12, 2019 08:45
@jmathai jmathai force-pushed the master branch 2 times, most recently from bbdb460 to ec11497 Compare October 29, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants