Commit 8d48900d authored by Francesco Poldi's avatar Francesco Poldi Committed by GitHub

Update user.py

Now followers, following, tweets and likes are integers
parent 3d3b6964
......@@ -90,7 +90,7 @@ def stat(ur, _type):
r = stat.find("span", "ProfileNav-value")["data-count"]
except AttributeError:
r = "0"
return r
return int(r)
def media(ur):
logme.debug(__name__+':media')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment