1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-18 20:10:26 +01:00

Fix for interpolate_variables function

This commit is contained in:
2017-01-08 15:38:59 +01:00
parent 83185011aa
commit 388a8cc835
3 changed files with 15 additions and 15 deletions

View File

@@ -195,7 +195,6 @@ class Base(object):
for num in range(10):
include_list.append('hard_drive_%d' % num)
conf_abs_dir = os.path.dirname(os.path.abspath(self.conf_file))
changed_options = {}
for key, val in utils.get_config(self.conf_file).items():
@@ -212,7 +211,7 @@ class Base(object):
continue
if val.startswith('$CONFIG'):
abspath = os.path.abspath(val.replace('$CONFIG', conf_abs_dir))
abspath = utils.interpolate_variables(val, self.conf_file)
changed_options[key] = abspath
continue