mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
Fixed bug in autoFork
This commit is contained in:
parent
e272d5d23e
commit
4b4ad90271
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import logging
|
||||||
from nzbToMediaConfig import *
|
from nzbToMediaConfig import *
|
||||||
from autoProcess.nzbToMediaEnv import *
|
from autoProcess.nzbToMediaEnv import *
|
||||||
|
|
||||||
|
|
||||||
Logger = logging.getLogger()
|
Logger = logging.getLogger()
|
||||||
|
|
||||||
class AuthURLOpener(urllib.FancyURLopener):
|
class AuthURLOpener(urllib.FancyURLopener):
|
||||||
|
@ -57,7 +56,7 @@ def autoFork(fork=None):
|
||||||
protocol = "http://"
|
protocol = "http://"
|
||||||
|
|
||||||
detected = False
|
detected = False
|
||||||
if fork is "auto":
|
if fork == "auto":
|
||||||
Logger.info("Attempting to auto-detect SickBeard fork")
|
Logger.info("Attempting to auto-detect SickBeard fork")
|
||||||
for fork in sorted(forks.iteritems()):
|
for fork in sorted(forks.iteritems()):
|
||||||
url = protocol + host + ":" + port + web_root + "/home/postprocess/processEpisode?" + urllib.urlencode(fork[1])
|
url = protocol + host + ":" + port + web_root + "/home/postprocess/processEpisode?" + urllib.urlencode(fork[1])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue