We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b3cf2 commit ea1306dCopy full SHA for ea1306d
tools/arm_pack_manager/__init__.py
@@ -453,7 +453,7 @@ def add_local_pack_file(self, filename):
453
:param filename: The pack file to add to the index
454
"""
455
_ = self.index # Force the cache to be loaded
456
- zipfile = ZipFile(open(filename))
+ zipfile = ZipFile(open(filename, "rb"))
457
for zipinfo in zipfile.infolist():
458
if (zipinfo.filename.endswith(".pdsc") or
459
zipinfo.filename.endswith(".PDSC")):
0 commit comments