Private GIT

Skip to content
Snippets Groups Projects
Commit 3a874b56 authored by echel0n's avatar echel0n
Browse files

Fixed issues with detecting _UNPACK_ when post-processing

parent cfa5d990
Branches
Tags
No related merge requests found
......@@ -170,9 +170,10 @@ def validateDir(path, dirName, nzbNameOriginal, failed):
returnStr += logHelper(u"The directory name indicates that it was previously rejected for being undersized.",
logger.DEBUG)
failed = True
elif ek.ek(os.path.basename, dirName).startswith('_UNPACK_'):
elif ek.ek(os.path.basename, dirName).upper().startswith('_UNPACK'):
returnStr += logHelper(u"The directory name indicates that this release is in the process of being unpacked.",
logger.DEBUG)
return False
if failed:
process_failed(os.path.join(path, dirName), nzbNameOriginal)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment