Skip to content

Commit

Permalink
fix missing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-RLI committed Oct 24, 2024
1 parent cd83c34 commit 6d45717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/omi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
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
there's no ``omi.__main__`` in ``sys.modules``.
Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration
"""

import click


Expand Down

0 comments on commit 6d45717

Please sign in to comment.