projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967ce23
)
Update mass.py
author
marcelveldt
<marcelvanderveldt@MacBook-Silvia.local>
Wed, 16 Oct 2019 07:06:33 +0000
(09:06 +0200)
committer
marcelveldt
<marcelvanderveldt@MacBook-Silvia.local>
Wed, 16 Oct 2019 07:06:33 +0000
(09:06 +0200)
mass.py
patch
|
blob
|
history
diff --git
a/mass.py
b/mass.py
index 8565c2cfe1c5d2527e5e6154862edbb0a682bd23..daf03dce2d31addc52650e46a850f6f268853b9d 100755
(executable)
--- 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