1
0
Johannes Baiter 11 жил өмнө
parent
commit
5f06a77352
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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)