diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/modulefinder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/modulefinder.py b/Tools/freeze/modulefinder.py index 8dce01d..3aa6941 100644 --- a/Tools/freeze/modulefinder.py +++ b/Tools/freeze/modulefinder.py @@ -229,8 +229,8 @@ class ModuleFinder: else: co = None m = self.add_module(fqname) + m.__file__ = pathname if co: - m.__file__ = pathname m.__code__ = co self.scan_code(co, m) self.msgout(2, "load_module ->", m) |