forked from p15670423/monkey
Bugfix in dropper.py, return value in all fail paths
This commit is contained in:
parent
20c7fef0e8
commit
cc4ad05be8
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue