Commit c0c16dbf authored by Philipp Hörist's avatar Philipp Hörist

Dont change path names because plugins use them

parent 848c5cbd
......@@ -134,9 +134,9 @@ class ConfigPaths:
user_dir_paths = [
('TMP', tempfile.gettempdir()),
('CONFIG_ROOT', self.config_root),
('CACHE_ROOT', self.cache_root),
('DATA_ROOT', self.data_root),
('MY_CONFIG', self.config_root),
('MY_CACHE', self.cache_root),
('MY_DATA', self.data_root),
]
for path in user_dir_paths:
......
......@@ -863,7 +863,7 @@ def check_soundfile_path(file_, dirs=None):
:return the path to file or None if it doesn't exists.
"""
if dirs is None:
dirs = [app.configpaths.get('DATA_ROOT'),
dirs = [app.configpaths.get('MY_DATA'),
app.DATA_DIR]
if not file_:
......@@ -891,7 +891,7 @@ def strip_soundfile_path(file_, dirs=None, abs=True):
return None
if dirs is None:
dirs = [app.configpaths.get('DATA_ROOT'),
dirs = [app.configpaths.get('MY_DATA'),
app.DATA_DIR]
name = os.path.basename(file_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment