Skip to content

Commit aeca1b0

Browse files
authored
fix: don't setup log if not using the CLI
1 parent 89b35b8 commit aeca1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtfparse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Towncrier needs version
55
from rtfparse.__about__ import __version__
6-
from rtfparse.cli import main
76

87
if __name__ == "__main__":
8+
from rtfparse.cli import main
99
main()

0 commit comments

Comments
 (0)