From f444077e124ee8e49e085a59994571ccba6cf307 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 11 May 2014 16:48:37 +0200 Subject: [PATCH] Support -m --- naja/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/naja/__main__.py b/naja/__main__.py index 9beb26c..5ed1914 100644 --- a/naja/__main__.py +++ b/naja/__main__.py @@ -22,3 +22,7 @@ def main(): screen = pygame.display.get_surface() engine = Engine(screen) engine.run() + + +if __name__ == '__main__': + main() -- 2.34.1