Bugfix in dropper.py, return value in all fail paths

This commit is contained in:
Daniel Goldberg 2018-04-17 14:16:46 +03:00
parent 20c7fef0e8
commit cc4ad05be8
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class MonkeyDrops(object):
if self._config['destination_path'] is None: if self._config['destination_path'] is None:
LOG.error("No destination path specified") LOG.error("No destination path specified")
return return False
# we copy/move only in case path is different # we copy/move only in case path is different
file_moved = os.path.samefile(self._config['source_path'], self._config['destination_path']) file_moved = os.path.samefile(self._config['source_path'], self._config['destination_path'])