Revert "Cast 'true' and 'false' to booleans (Fixes #1245)"

This reverts commit c8f253093b.
This commit is contained in:
Mathieu Comandon 2018-11-03 03:55:02 -07:00
parent 9a55ddc968
commit b15ed05638

View file

@ -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,