diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ftptree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ftptree.py b/modules/ftptree.py index 3234725..3e5691f 100644 --- a/modules/ftptree.py +++ b/modules/ftptree.py @@ -46,7 +46,7 @@ def mv(src, dst, test = False): fsrc = src fdst = dst + '/' + src.split('/')[-1] if test: - if not os.path.exists(src): + if not os.path.exists(fsrc): pinfo("TEST os.rename(%s, %s): source doesn't exists" % (fsrc, fdst)) if not os.path.exists(dst): pinfo("TEST destination doesn't exist: %s" % dst) |