From 9edaef98661742463ad41b31a5a1e88d7727efda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Almeida=20Subhi?= Date: Mon, 23 Sep 2019 09:03:43 -0300 Subject: [PATCH] Minor Fix In requests package, text is not a method. Instead: content = r.text() Uses: content = r.text --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 441b76c6..6ac4813f 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,11 @@ def get_character_sync(name): url = tibiapy.Character.get_url(name) r = requests.get(url) - content = r.text() + content = r.text character = tibiapy.Character.from_content(content) return character ``` ## Documentation -https://tibiapy.readthedocs.io/ \ No newline at end of file +https://tibiapy.readthedocs.io/