diff options
Diffstat (limited to 'core/object/make_virtuals.py')
-rw-r--r-- | core/object/make_virtuals.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/object/make_virtuals.py b/core/object/make_virtuals.py index e2a8e656b7..7a85753072 100644 --- a/core/object/make_virtuals.py +++ b/core/object/make_virtuals.py @@ -201,11 +201,5 @@ def run(target, source, env): txt += "#endif // GDVIRTUAL_GEN_H\n" - with open(target[0], "w", encoding="utf-8", newline="\n") as f: + with open(str(target[0]), "w", encoding="utf-8", newline="\n") as f: f.write(txt) - - -if __name__ == "__main__": - from platform_methods import subprocess_main - - subprocess_main(globals()) |