diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-05 16:42:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 16:42:21 +0200 |
commit | 9ee98ff0e9a6590d00fd43718937acb5f58a43f5 (patch) | |
tree | e079192f9b0effe15778453541d4e4f428434b7d | |
parent | 74f2c78db5cdffa5b2b6ba9cd041061d7694400c (diff) | |
parent | f26a1d8e839748ea219117ccadc2078078319fa8 (diff) | |
download | fork-godot-webrtc-native-9ee98ff0e9a6590d00fd43718937acb5f58a43f5.tar.gz fork-godot-webrtc-native-9ee98ff0e9a6590d00fd43718937acb5f58a43f5.tar.bz2 fork-godot-webrtc-native-9ee98ff0e9a6590d00fd43718937acb5f58a43f5.zip |
Merge pull request #28 from Faless/fix/python3
Fix gdns generation with python3.
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ def add_sources(sources, dirpath, extension): def gen_gdnative_lib(target, source, env): for t in target: with open(t.srcnode().path, 'w') as w: - w.write(source[0].get_contents().replace('{GDNATIVE_PATH}', os.path.splitext(t.name)[0]).replace('{TARGET}', env['target'])) + w.write(source[0].get_contents().decode('utf8').replace('{GDNATIVE_PATH}', os.path.splitext(t.name)[0]).replace('{TARGET}', env['target'])) env = Environment() |