diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-04-29 22:38:36 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-05 16:40:22 +0200 |
commit | f26a1d8e839748ea219117ccadc2078078319fa8 (patch) | |
tree | 8c70e6d054c2eaad0029db414381f11992b472fe /SConstruct | |
parent | 5f9e74f2fb2658ae15e8bc5b17be208f39d32c3f (diff) | |
download | fork-godot-webrtc-native-f26a1d8e839748ea219117ccadc2078078319fa8.tar.gz fork-godot-webrtc-native-f26a1d8e839748ea219117ccadc2078078319fa8.tar.bz2 fork-godot-webrtc-native-f26a1d8e839748ea219117ccadc2078078319fa8.zip |
Fix gdns generation with python3.
Python2 has reached end-of-life.
Diffstat (limited to 'SConstruct')
-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() |