Skip to content

Commit

Permalink
Fix autofork fallback. #163
Browse files Browse the repository at this point in the history
clinton-hall authored Sep 19, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 77f3426 commit 80ef0d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/forks.py
Original file line number Diff line number Diff line change
@@ -168,7 +168,8 @@ def auto_fork(section, input_category):
else:
logger.info('{section}:{category} fork auto-detection failed'.format
(section=section, category=input_category))
fork = core.FORKS.items()[core.FORKS.keys().index(core.FORK_DEFAULT)]
fork = list(core.FORKS.items())[list(core.FORKS.keys()).index(core.FORK_DEFAULT)]


logger.info('{section}:{category} fork set to {fork}'.format
(section=section, category=input_category, fork=fork[0]))

0 comments on commit 80ef0d0

Please sign in to comment.