|
@ -791,7 +791,7 @@ Remove it if you want it to be renamed (again, or at least let it try again) |
|
|
dest = sp(dest) |
|
|
dest = sp(dest) |
|
|
try: |
|
|
try: |
|
|
|
|
|
|
|
|
if os.path.exists(dest): |
|
|
if os.path.exists(dest) and os.path.isfile(dest): |
|
|
raise Exception('Destination "%s" already exists' % dest) |
|
|
raise Exception('Destination "%s" already exists' % dest) |
|
|
|
|
|
|
|
|
move_type = self.conf('file_action') |
|
|
move_type = self.conf('file_action') |
|
|