Skip to content

Commit

Permalink
only run with the -m flag
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Dec 13, 2024
1 parent 4731541 commit adea988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subliminal/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from textwrap import dedent

if len(__package__) == 0:
if not (__name__ == '__main__' and __package__ == 'subliminal'):
import sys

print( # noqa: T201
Expand Down

0 comments on commit adea988

Please sign in to comment.