FIX: Post-Processing should now fully work once again.

This commit is contained in:
evilhero 2013-01-23 05:07:27 -05:00
parent 6bea1d7819
commit eecf06b4ef
1 changed files with 2 additions and 2 deletions

View File

@ -346,8 +346,8 @@ class PostProcessor(object):
logger.fdebug("Source: " + str(src))
logger.fdebug("Destination: " + str(dst))
os.rename(os.path.join(self.nzb_folder, ofilename), os.path.join(self.nzb_folder,str(nfilename + ext)))
#src = os.path.join(self.nzb_folder, str(nfilename + ext))
os.rename(os.path.join(self.nzb_folder, str(ofilename)), os.path.join(self.nzb_folder,str(nfilename + ext)))
src = os.path.join(self.nzb_folder, str(nfilename + ext))
try:
shutil.move(src, dst)
except (OSError, IOError):