Browse Source

Only check exists on file

pull/4094/head
Ruud 11 years ago
parent
commit
a6ff34a47f
  1. 2
      couchpotato/core/plugins/renamer.py

2
couchpotato/core/plugins/renamer.py

@ -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')

Loading…
Cancel
Save