Browse Source

deploy-ng: Fix to allow namespace packages

Mitchell Stokes 8 years ago
parent
commit
961487cd3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showutil/FreezeTool.py

+ 1 - 1
direct/src/showutil/FreezeTool.py

@@ -713,7 +713,7 @@ class Freezer:
         # special path mangling.)
         for moduleName, module in list(sys.modules.items()):
             if module and hasattr(module, '__path__'):
-                path = getattr(module, '__path__')
+                path = list(getattr(module, '__path__'))
                 if path:
                     modulefinder.AddPackagePath(moduleName, path[0])