Browse Source

Fix some things

Joeri Exelmans 2 years ago
parent
commit
ceb1c2ffed
3 changed files with 4 additions and 3 deletions
  1. 2 1
      .gitignore
  2. 1 1
      README.md
  3. 1 1
      src/xopp2py/abstract_syntax.py

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-__pycache__/
+__pycache__/
+dist/

+ 1 - 1
README.md

@@ -1,4 +1,4 @@
-#xopp2py
+# xopp2py
 
 Python interface to .xopp (Xournal++) files.
 

+ 1 - 1
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: