Kaynağa Gözat

Fix some things

Joeri Exelmans 2 yıl önce
ebeveyn
işleme
ceb1c2ffed
3 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  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: