Apply dict type-casting in autoFork too.

* Fixes #1056
This commit is contained in:
Labrys 2016-06-07 08:51:56 -04:00
commit 1085c5851c

View file

@ -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")