summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()