From: marcelveldt Date: Wed, 16 Oct 2019 07:06:33 +0000 (+0200) Subject: Update mass.py X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=e150fe0f5187a95895abdae233ca12d503aff1cd;p=music-assistant-server.git Update mass.py --- 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