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