diff --git a/direct/src/showutil/FreezeTool.py b/direct/src/showutil/FreezeTool.py index 932890d7c2..237415c190 100644 --- a/direct/src/showutil/FreezeTool.py +++ b/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])