We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2a6bb commit 4dd1c8dCopy full SHA for 4dd1c8d
py/selenium/webdriver/firefox/firefox_profile.py
@@ -28,7 +28,7 @@
28
try:
29
from cStringIO import StringIO as BytesIO
30
bytes = str
31
- str = unicode
+ str = basestring
32
except ImportError:
33
from io import BytesIO
34
@@ -361,7 +361,7 @@ def get_text(element):
361
raise AddonFormatError(str(e), sys.exc_info()[2])
362
363
# turn unpack into a true/false value
364
- if isinstance(details['unpack'], basestring):
+ if isinstance(details['unpack'], str):
365
details['unpack'] = details['unpack'].lower() == 'true'
366
367
# If no ID is set, the add-on is invalid
0 commit comments