summaryrefslogtreecommitdiff
path: root/butler.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-04 00:45:26 +0100
committeremkael <emkael@tlen.pl>2017-01-04 20:56:23 +0100
commit63ab18bb8903ddd8d88516fda450b815329ab357 (patch)
tree997a152c68106d0dc085517b066bb2c06fed671e /butler.py
parentb231002cd6bd5df74867627576a75c510b41e1f1 (diff)
Code reformatting
Diffstat (limited to 'butler.py')
-rw-r--r--butler.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/butler.py b/butler.py
index bb95925..6f3a2d4 100644
--- a/butler.py
+++ b/butler.py
@@ -4,10 +4,9 @@ from os import path
import __main__
from ausbutler.interface import Interface
-config = json.load(
- open(path.join(path.dirname(__main__.__file__), 'config', 'butler.json')))
-i = Interface(config)
+i = Interface(json.load(
+ open(path.join(path.dirname(__main__.__file__), 'config', 'butler.json'))))
i.init_db()
i.populate_db()
i.opp_scores()