From 2e988af4d8b3602873678c254a42eba8bfa2ebaa Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 3 Jul 2016 02:13:15 +0200 Subject: Fix launch.sh We want to be able to run "python -m poezio" AND have a poezio entry point. --- poezio/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/poezio/__main__.py b/poezio/__main__.py index f9eefb1b..b8696bb5 100644 --- a/poezio/__main__.py +++ b/poezio/__main__.py @@ -7,3 +7,6 @@ def run(): import sys sys.exit(1) return 0 + +if __name__ == '__main__': + run() -- cgit v1.2.3