summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/scripts/uptime.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/scripts/uptime.py b/examples/scripts/uptime.py
index 4d3d96c32f..deef4481b2 100755
--- a/examples/scripts/uptime.py
+++ b/examples/scripts/uptime.py
@@ -92,5 +92,6 @@ def main():
for host, result in callback.host_unreachable.items():
print('{0} >>> {1}'.format(host, result._result['msg']))
+
if __name__ == '__main__':
main()