diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2015-12-16 16:29:06 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2015-12-17 23:43:10 +0000 |
commit | ce31ecf066f056cf36a47011f9858033a804024d (patch) | |
tree | e2c90a2d032d5cb4e56c66be12cda336a01c9fd7 | |
parent | ea4c1fa579e117b63380a581d7d31d5a14abb7c5 (diff) |
add __main__.py
-rw-r--r--[-rwxr-xr-x] | alot/__main__.py (renamed from alot/init.py) | 2 | ||||
-rwxr-xr-x | setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/init.py b/alot/__main__.py index 165f9092..6202daf1 100755..100644 --- a/alot/init.py +++ b/alot/__main__.py @@ -190,5 +190,5 @@ def main(): if exit_hook is not None: exit_hook() -if __name__ == '__main__': +if __name__ == "__main__": main() @@ -23,7 +23,7 @@ setup(name='alot', ]}, entry_points={ 'console_scripts': - ['alot = alot.init:main'], + ['alot = alot.__main__:main'], }, install_requires=[ 'notmuch>=0.13', |