summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-07-03 02:13:15 +0200
committermathieui <mathieui@mathieui.net>2016-07-03 02:13:24 +0200
commit2e988af4d8b3602873678c254a42eba8bfa2ebaa (patch)
treeb2585378b527de60ea8130efb295140457981c04
parent401048aba1b6e4cb0b5bf28e2319c89593253cc3 (diff)
downloadpoezio-2e988af4d8b3602873678c254a42eba8bfa2ebaa.tar.gz
poezio-2e988af4d8b3602873678c254a42eba8bfa2ebaa.tar.bz2
poezio-2e988af4d8b3602873678c254a42eba8bfa2ebaa.tar.xz
poezio-2e988af4d8b3602873678c254a42eba8bfa2ebaa.zip
Fix launch.sh
We want to be able to run "python -m poezio" AND have a poezio entry point.
-rw-r--r--poezio/__main__.py3
1 files changed, 3 insertions, 0 deletions
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()