summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/freeze/freeze.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index 9627a27..9502f1b 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -335,10 +335,7 @@ def main():
if python_entry_is_main:
mf.run_script(scriptfile)
else:
- if modargs:
- mf.import_hook(scriptfile)
- else:
- mf.load_file(scriptfile)
+ mf.load_file(scriptfile)
if debug > 0:
mf.report()