1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-19 04:20:23 +01:00

Fix for config options containing HOME variable

This commit is contained in:
2017-01-08 15:37:29 +01:00
parent 152446abbe
commit 83185011aa
2 changed files with 8 additions and 0 deletions

View File

@@ -208,6 +208,9 @@ class Base(object):
if val.startswith('/'):
continue
if val.startswith('$HOME'):
continue
if val.startswith('$CONFIG'):
abspath = os.path.abspath(val.replace('$CONFIG', conf_abs_dir))
changed_options[key] = abspath