summaryrefslogtreecommitdiff
path: root/system/seport.py
diff options
context:
space:
mode:
Diffstat (limited to 'system/seport.py')
-rw-r--r--system/seport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/seport.py b/system/seport.py
index c661db43..0e8c7619 100644
--- a/system/seport.py
+++ b/system/seport.py
@@ -316,4 +316,5 @@ def main():
module.exit_json(**result)
-main()
+if __name__ == '__main__':
+ main()