From ceb1c2ffedf2c27beed70a42393c139845d91415 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Thu, 2 Mar 2023 11:11:40 +0100 Subject: [PATCH] Fix some things --- .gitignore | 3 ++- README.md | 2 +- src/xopp2py/abstract_syntax.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ba0430d..9cb9928 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__/ \ No newline at end of file +__pycache__/ +dist/ \ No newline at end of file diff --git a/README.md b/README.md index 97a0614..f1ce98c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#xopp2py +# xopp2py Python interface to .xopp (Xournal++) files. diff --git a/src/xopp2py/abstract_syntax.py b/src/xopp2py/abstract_syntax.py index e276ed6..d1cee03 100644 --- a/src/xopp2py/abstract_syntax.py +++ b/src/xopp2py/abstract_syntax.py @@ -17,7 +17,7 @@ class Background: @dataclass class Stroke: values: str # Just the XML text in between the tags. Meaning: stroke positions. - attributes: str # just the XML attributes as encountered + attributes: dict[str,str] # just the XML attributes as encountered @dataclass class Text: