diff options
| author | ShyRed | 2018-03-16 16:28:05 +0100 |
|---|---|---|
| committer | ShyRed | 2018-03-16 16:28:05 +0100 |
| commit | 75308d7a306a0201b110a3a8510253ba7927de66 (patch) | |
| tree | 5a772d2602a4ac7ca4b4165dd100bc861f01788e /main | |
| parent | e06a56eac8c1fbf36e985697d3b6b1a66ec8ac0e (diff) | |
| download | godot-75308d7a306a0201b110a3a8510253ba7927de66.tar.gz godot-75308d7a306a0201b110a3a8510253ba7927de66.tar.zst godot-75308d7a306a0201b110a3a8510253ba7927de66.zip | |
Open textfile in textmode
Open mapping files in textmode as they are textfiles.
Diffstat (limited to 'main')
| -rw-r--r-- | main/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SCsub b/main/SCsub index dd16437d5..9eddc4f5b 100644 --- a/main/SCsub +++ b/main/SCsub @@ -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:] |
