From 1085c5851cb3c36dcde4a402cd332260feb84a59 Mon Sep 17 00:00:00 2001 From: Labrys Date: Tue, 7 Jun 2016 08:51:56 -0400 Subject: [PATCH] Apply dict type-casting in autoFork too. * Fixes #1056 --- core/nzbToMediaAutoFork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nzbToMediaAutoFork.py b/core/nzbToMediaAutoFork.py index 3e213fd8..105e758c 100644 --- a/core/nzbToMediaAutoFork.py +++ b/core/nzbToMediaAutoFork.py @@ -12,7 +12,7 @@ def autoFork(section, inputCategory): # auto-detect correct section # config settings - cfg = core.CFG[section][inputCategory] + cfg = dict(core.CFG[section][inputCategory]) host = cfg.get("host") port = cfg.get("port")