Browse Source

Fix error message.

pull/41/head
shypike 13 years ago
parent
commit
6a8ff22f96
  1. 2
      sabnzbd/misc.py

2
sabnzbd/misc.py

@ -791,7 +791,7 @@ def move_to_path(path, new_path, unique=True):
shutil.copyfile(path, new_path)
os.remove(path)
except:
if cfg.marker_file()and cfg.marker_file() not in path:
if not (cfg.marker_file() and cfg.marker_file() in path):
logging.error(Ta('Failed moving %s to %s'), path, new_path)
logging.info("Traceback: ", exc_info = True)
new_path = None

Loading…
Cancel
Save