From 67e950d86ff5566351821e5d8dae5ca365aaa90c Mon Sep 17 00:00:00 2001 From: Martin-Zack Mekkaoui Date: Fri, 8 May 2015 11:01:56 +0200 Subject: [PATCH] Correct directory's name On Mac OS X fwfetcher raised KeyError: "There is no item named '$Systemupdate/FFFE07DF00000001' in the archive" --- src/fwfetcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fwfetcher.py b/src/fwfetcher.py index 7095d797..250b8ee7 100644 --- a/src/fwfetcher.py +++ b/src/fwfetcher.py @@ -531,11 +531,11 @@ def getFileOrURL(filename, url): return retval def extractPirsFromZip(systemupdate): - print "Extracting $Systemupdate/FFFE07DF00000001 from system update file..." + print "Extracting $SystemUpdate/FFFE07DF00000001 from system update file..." updatefile = StringIO.StringIO(systemupdate) z = zipfile.ZipFile(updatefile) #print z.namelist() - pirs = z.open("$Systemupdate/FFFE07DF00000001").read() + pirs = z.open("$SystemUpdate/FFFE07DF00000001").read() print "done." return pirs