You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Open textfile in textmode
Open mapping files in textmode as they are textfiles.
This commit is contained in:
@@ -74,7 +74,7 @@ def make_default_controller_mappings(target, source, env):
|
||||
platform_mappings = OrderedDict()
|
||||
for src in source:
|
||||
src_path = src.srcnode().abspath
|
||||
with open(src_path, "rb") as f:
|
||||
with open(src_path, "r") as f:
|
||||
# read mapping file and skip header
|
||||
mapping_file_lines = f.readlines()[2:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user