From 6d45717c671c7a89cca4d950414c36014b792b67 Mon Sep 17 00:00:00 2001 From: jh-RLI Date: Thu, 24 Oct 2024 11:43:56 +0200 Subject: [PATCH] fix missing whitespace --- src/omi/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/omi/cli.py b/src/omi/cli.py index 0a891c0..6b4d0aa 100644 --- a/src/omi/cli.py +++ b/src/omi/cli.py @@ -6,7 +6,7 @@ You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice: - - When you run `python -momi` python will execute + - When you run `python -m omi` python will execute ``__main__.py`` as a script. That means there won't be any ``omi.__main__`` in ``sys.modules``. - When you import __main__ it will get executed again (as a module) because @@ -14,6 +14,7 @@ Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration """ + import click