PAR2Set/ZIP: fix output directory
authorIra W. Snyder <devel@irasnyder.com>
Wed, 7 May 2014 01:06:26 +0000 (18:06 -0700)
committerIra W. Snyder <devel@irasnyder.com>
Wed, 7 May 2014 01:06:26 +0000 (18:06 -0700)
It is unclear when or why this was changed. I'm sure it fixed a bug
which was noticed at some point.

PAR2Set/ZIP.py

index 75c8169..86257c9 100644 (file)
@@ -63,7 +63,7 @@ class ZIP(Base):
         files = utils.findMatches(regex, self.allFiles)
 
         for f in files:
-            utils.runCommand(['unzip', f], todir)
+            utils.runCommand(['unzip', f], self.directory)
 
     ############################################################################