Skip to content

Commit

Permalink
Fix config.py unicode error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Speierers committed Feb 25, 2020
1 parent f018596 commit fa23b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def write_core_config_python(f, enabled, default_variant):
f.write(' "resources/configure.py". Please do not attempt to change it manually,\n')
f.write(' as any changes will be overwritten."""\n\n')

f.write("PYTHON_EXECUTABLE = '%s'\n" % sys.executable)
f.write("PYTHON_EXECUTABLE = r"%s"\n" % sys.executable)
f.write('MTS_DEFAULT_VARIANT = \'%s\'\n' % default_variant)
f.write('MTS_VARIANTS = %s\n' % str([v[0] for v in enabled]))

Expand Down

0 comments on commit fa23b58

Please sign in to comment.