mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
removed extra default that casued int() to fail. Fixes #1109
This commit is contained in:
parent
3d915986b0
commit
26d938eba0
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ class autoProcessMovie(object):
|
|||
logger.debug("Transcoding succeeded for files in {0}".format(dirName), section)
|
||||
dirName = newDirName
|
||||
|
||||
chmod_directory = int(cfg.get("chmodDirectory", 0), 8)
|
||||
chmod_directory = int(cfg.get("chmodDirectory", 0))
|
||||
logger.debug("Config setting 'chmodDirectory' currently set to {0}".format(oct(chmod_directory)), section)
|
||||
if chmod_directory:
|
||||
logger.info("Attempting to set the octal permission of '{0}' on directory '{1}'".format(oct(chmod_directory), dirName), section)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue