Преглед на файлове

Merge pull request #17564 from ShyRed/fixbuild

Open textfile in textmode
Rémi Verschelde преди 7 години
родител
ревизия
201d2d7226
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      main/SCsub

+ 1 - 1
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:]