There's no such thing as 'unicode' in Py3
This commit is contained in:
@@ -897,7 +897,6 @@ class Client(object):
|
|||||||
if type(_fbid) == int:
|
if type(_fbid) == int:
|
||||||
return _fbid
|
return _fbid
|
||||||
|
|
||||||
print(type(_fbid))
|
|
||||||
if type(_fbid) in [str, bytes] and 'fbid:' in _fbid:
|
if type(_fbid) in [str, bytes] and 'fbid:' in _fbid:
|
||||||
return int(_fbid[5:])
|
return int(_fbid[5:])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user