ayaports/backports/electron/py3.11.patch

12 lines
240 B
Diff
Raw Normal View History

2023-01-11 00:40:45 +00:00
--- a/tools/grit/grit/util.py
+++ b/tools/grit/grit/util.py
@@ -209,7 +209,7 @@
mode = 'rb'
encoding = None
else:
- mode = 'rU'
+ mode = 'r'
with io.open(filename, mode, encoding=encoding) as f:
return f.read()