diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-01-28 03:40:38 +0000 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-01-28 03:40:38 +0000 |
commit | 4150506d74494d00be0e9224ca6145b94b3418e6 (patch) | |
tree | 2c32f796b032e08464f0c3b0d8eea3728c586c2e | |
parent | 9f7bfda8239d15d89ef5ddfc72fd269a721c08b1 (diff) | |
download | asciidoc-git-4150506d74494d00be0e9224ca6145b94b3418e6.tar.gz |
improve __main__.py
-rw-r--r-- | asciidoc/__main__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/asciidoc/__main__.py b/asciidoc/__main__.py index 390092e..59bbb90 100644 --- a/asciidoc/__main__.py +++ b/asciidoc/__main__.py @@ -1,3 +1,6 @@ -from asciidoc import cli +try: + from .asciidoc import cli +except ImportError: + from asciidoc import cli cli() |