1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-02 20:41:57 +00:00

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

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):