Changed autoFork to default to auto-detection if it fails to properly get the config value for fork or one is not set

This commit is contained in:
echel0n 2014-03-31 02:58:58 -07:00
commit 08bd4584d8

View file

@ -51,7 +51,7 @@ def autoFork(fork=None):
try:
fork = forks.items()[forks.keys().index(config.get(section, "fork"))]
except:
fork = forks.items()[forks.keys().index(fork_default)]
fork = "auto"
myOpener = AuthURLOpener(username, password)