Commit 4ae03d3f authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Cédric de Saint Martin

Fix bug when using file_token option

parent c4b8e9b0
...@@ -130,7 +130,7 @@ def checkAction(arguments): ...@@ -130,7 +130,7 @@ def checkAction(arguments):
else: else:
return True return True
else: else:
return os.path.exists(arguments['file_token']) return os.path.exists(os.path.join(arguments['target_directory'], arguments['file_token']))
def rename(arguments): def rename(arguments):
source = os.path.join(arguments['target_directory'], arguments['source']) source = os.path.join(arguments['target_directory'], arguments['source'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment