We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af75798 commit b55fcfcCopy full SHA for b55fcfc
1 file changed
src/fluepdot/fluepdot.py
@@ -70,7 +70,7 @@ def get_fonts(self) -> None:
70
71
def get_mode(self) -> Mode:
72
r = self._get(modeURL)
73
- return Mode(r.text)
+ return Mode(int(r.text))
74
75
def post_text(self, text: str, x: int = 0, y: int = 0, font: str = "DejaVuSans12") -> Response:
76
return self._post(textURL, get={"x": x, "y": y, "font": font}, post=text)
0 commit comments