diff --git a/python/nav/bin/navtopology.py b/python/nav/bin/navtopology.py index 375af78273..220db8d740 100755 --- a/python/nav/bin/navtopology.py +++ b/python/nav/bin/navtopology.py @@ -5,4 +5,5 @@ from nav.topology.detector import main -main() +if __name__ == '__main__': + main()