Skip to content

Commit

Permalink
fix: should apply config after plugin install
Browse files Browse the repository at this point in the history
  • Loading branch information
NateScarlet committed Jun 17, 2021
1 parent 72d1bec commit 9f3874e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auto_derby/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@


def main():
config.apply()
avaliable_jobs = {
"team_race": jobs.team_race,
"champions_meeting": jobs.champions_meeting,
Expand All @@ -44,6 +43,7 @@ def main():
plugins = args.plugin
for i in plugins:
plugin.install(i)
config.apply()

if not job:
LOGGER.error(
Expand Down
3 changes: 3 additions & 0 deletions auto_derby/single_mode/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .. import config

config.apply()

0 comments on commit 9f3874e

Please sign in to comment.