diff options
Diffstat (limited to 'butler.py')
-rw-r--r-- | butler.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,10 +1,6 @@ -import json -from os import path - -import __main__ +from ausbutler.config import load_config from ausbutler.interface import Interface -i = Interface(json.load( - open(path.join(path.dirname(__main__.__file__), 'config', 'butler.json')))) +i = Interface(load_config('butler')) i.calculate_all() |