Browse Source

Fix typo in copymodules

Johannes Baiter 11 years ago
parent
commit
5f06a77352
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nsist/copymodules.py

+ 1 - 1
nsist/copymodules.py

@@ -104,7 +104,7 @@ else:
                 # NOTE: `imp.find_module(...)` will *not* find modules in ZIP
                 #       files, so we have to check each file for ourselves
                 for zpath in self.zip_path:
-                    loader = zipimport.zipimporter(fpath)
+                    loader = zipimport.zipimporter(zpath)
                     if loader.find_module(modname) is None:
                         continue
                     copy_zipmodule(loader, modname, target)