jenkins-bot submitted this change.
[bugfix] Don't call check_modules() as a site package
Change-Id: I6b09fd146f1a06d5b4c8b31b1a39bc100a1b7042
---
M pwb.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pwb.py b/pwb.py
index 321def5..8c5da9f 100755
--- a/pwb.py
+++ b/pwb.py
@@ -439,7 +439,7 @@
help_option = any(arg.startswith('-help:') or arg == '-help'
for arg in script_args)
- if check_modules(filename) or help_option:
+ if site_package or check_modules(filename) or help_option:
run_python_file(filename,
[filename] + script_args,
[Path(filename).stem] + argvu[1:],
To view, visit change 740340. To unsubscribe, or for help writing mail filters, visit settings.