Skip to content
Snippets Groups Projects
Commit 371f8c04 authored by Markus Holzer's avatar Markus Holzer
Browse files

Minor fix

parent 13a1f590
No related branches found
No related tags found
1 merge request!272Testing
......@@ -602,7 +602,7 @@ def compile_module(code, code_hash, base_dir, compile_flags=None):
if not os.path.exists(object_file):
try:
with open(src_file, 'xw') as f:
with open(src_file, 'x') as f:
code.write_to_file(f)
except FileExistsError:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment