mirror of
https://github.com/lutris/lutris
synced 2024-11-02 13:31:16 +00:00
Revert "Cast 'true' and 'false' to booleans (Fixes #1245)"
This reverts commit c8f253093b
.
This commit is contained in:
parent
9a55ddc968
commit
b15ed05638
1 changed files with 0 additions and 5 deletions
|
@ -703,11 +703,6 @@ class ScriptInterpreter(CommandsMixin):
|
|||
|
||||
def _substitute(self, template_string):
|
||||
"""Replace path aliases with real paths."""
|
||||
if str(template_string).lower() == 'true':
|
||||
return True
|
||||
if str(template_string).lower() == 'false':
|
||||
return False
|
||||
|
||||
replacements = {
|
||||
"GAMEDIR": self.target_path,
|
||||
"CACHE": self.cache_path,
|
||||
|
|
Loading…
Reference in a new issue