summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Smith <44496293+osmith42@users.noreply.github.com>2021-11-09 10:20:34 +0100
committerGitHub <noreply@github.com>2021-11-08 23:20:34 -1000
commit42eeb158544f4657982e35e0b91e3d0697b484ee (patch)
tree12f1150cac90fa664eac9f07892ed8175dd716bb
parent74823bed08e7b823d2b6cba8636a1fd67fed6cc9 (diff)
downloadasciidoc-py3-42eeb158544f4657982e35e0b91e3d0697b484ee.tar.gz
Fix errors not displaying when called via a2x (#220)
-rw-r--r--asciidoc/a2x.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/asciidoc/a2x.py b/asciidoc/a2x.py
index 4e9d363..5a6fcc4 100644
--- a/asciidoc/a2x.py
+++ b/asciidoc/a2x.py
@@ -1001,4 +1001,5 @@ def cli():
#####################################################################
if __name__ == "__main__":
+ asciidoc.set_caller(__name__)
cli()