aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pnodespy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/pnodespy.py b/scripts/pnodespy.py
index 7713bb1d6..3cf673807 100755
--- a/scripts/pnodespy.py
+++ b/scripts/pnodespy.py
@@ -282,4 +282,5 @@ def _generateCLIParser():
return pnodes._generateCLIParser()
-pnodes.main()
+if __name__ == "__main__":
+ pnodes.main()