diff --git a/autoProcessMedia.cfg.spec b/autoProcessMedia.cfg.spec index e0dc3c7d..ac9d22c8 100644 --- a/autoProcessMedia.cfg.spec +++ b/autoProcessMedia.cfg.spec @@ -247,7 +247,7 @@ DelugePWD = your password ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ###### deleteOriginal = 0 - chmodDirecotry = 0 + chmodDirectory = 0 resume = 1 resumeOnFailure = 1 diff --git a/core/__init__.py b/core/__init__.py index 85a8e453..9edc1d8d 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -345,7 +345,7 @@ def initialize(section=None): if isinstance(NOFLATTEN, str): NOFLATTEN = NOFLATTEN.split(',') if isinstance(CATEGORIES, str): CATEGORIES = CATEGORIES.split(',') DELETE_ORIGINAL = int(CFG["Torrent"]["deleteOriginal"]) - TORRENT_CHMOD_DIRECTORY = int(CFG["Torrent"]["chmodDirecotry"], 8) + TORRENT_CHMOD_DIRECTORY = int(CFG["Torrent"]["chmodDirectory"], 8) TORRENT_RESUME_ON_FAILURE = int(CFG["Torrent"]["resumeOnFailure"]) TORRENT_RESUME = int(CFG["Torrent"]["resume"]) UTORRENTWEBUI = CFG["Torrent"]["uTorrentWEBui"] # http://localhost:8090/gui/