Support -m
authorStefano Rivera <stefano@rivera.za.net>
Sun, 11 May 2014 14:48:37 +0000 (16:48 +0200)
committerStefano Rivera <stefano@rivera.za.net>
Sun, 11 May 2014 14:49:05 +0000 (16:49 +0200)
naja/__main__.py

index 9beb26c63957553e3e86b19ccc836b8eabf2bd1e..5ed191429bb4078b8b939d7f93e395f6244c0bd4 100644 (file)
@@ -22,3 +22,7 @@ def main():
     screen = pygame.display.get_surface()
     engine = Engine(screen)
     engine.run()
+
+
+if __name__ == '__main__':
+    main()