You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running upload() on python 3 leads to the error because basestring is no longer available in Python 3.
Stack trace:
def upload(self, local_path_or_fileobj, remote_path):
--> 153 if isinstance(local_path_or_fileobj, basestring):
154 with open(local_path_or_fileobj, 'rb') as f:
155 self._upload(f, remote_path)
NameError: name 'basestring' is not defined
Running upload() on python 3 leads to the error because
basestringis no longer available in Python 3.Stack trace: