2 Commits
Author SHA1 Message Date
Carlos EduardoandGitHub e2b03937e7 Update client.py
Added a check if basestring class exists (Python2 case). If doesn't exist, alias `basestring` to `str` (Python3 case).
2017-01-04 17:20:47 -02:00
Carlos EduardoandGitHub 463d6c0878 Update function to make it compatible to Python 3.
The class `basestring` does not exist in Python 3. Change to `str`.
2017-01-04 15:53:50 -02:00