There's no such thing as 'unicode' in Py3

This commit is contained in:
Lord Anton Hvornum
2017-05-11 21:23:48 +02:00
parent e8fbaefa72
commit ac0e72d167

View File

@@ -897,7 +897,6 @@ class Client(object):
if type(_fbid) == int:
return _fbid
print(type(_fbid))
if type(_fbid) in [str, bytes] and 'fbid:' in _fbid:
return int(_fbid[5:])