From e150fe0f5187a95895abdae233ca12d503aff1cd Mon Sep 17 00:00:00 2001 From: marcelveldt Date: Wed, 16 Oct 2019 09:06:33 +0200 Subject: [PATCH] Update mass.py --- mass.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mass.py b/mass.py index 8565c2cf..daf03dce 100755 --- a/mass.py +++ b/mass.py @@ -34,9 +34,8 @@ def get_config(): debug = os.environ['mass_debug'].lower() != 'false' if os.environ.get('mass_update'): update_latest = os.environ['mass_update'].lower() != 'false' - # config file found - base_dir = os.path.dirname(os.path.abspath(__file__)) - conf_file = os.path.join(base_dir, 'options.json') + # hassio config file found + conf_file = '/data/options.json' if os.path.isfile(conf_file): try: import json -- 2.34.1