Skip to content

Commit ea1306d

Browse files
committed
Hotfix for windows support for adding local pack files
1 parent c5b3cf2 commit ea1306d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/arm_pack_manager/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def add_local_pack_file(self, filename):
453453
:param filename: The pack file to add to the index
454454
"""
455455
_ = self.index # Force the cache to be loaded
456-
zipfile = ZipFile(open(filename))
456+
zipfile = ZipFile(open(filename, "rb"))
457457
for zipinfo in zipfile.infolist():
458458
if (zipinfo.filename.endswith(".pdsc") or
459459
zipinfo.filename.endswith(".PDSC")):

0 commit comments

Comments
 (0)