소스 검색

Fix some things

Joeri Exelmans 2 년 전
부모
커밋
ceb1c2ffed
3개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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: