From 6552007fc95d841c95d65f7c9a553b593aed1f8c Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sat, 26 Dec 2015 21:26:21 +1030 Subject: [PATCH] prevent int errors in chmod --- core/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/__init__.py b/core/__init__.py index 9edc1d8d..07c112c1 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"]["chmodDirectory"], 8) + TORRENT_CHMOD_DIRECTORY = int(str(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/