Skip to content

Commit

Permalink
checking string in 2.6/7 should include unicode too.
Browse files Browse the repository at this point in the history
Fixes Issue SeleniumHQ#6430
  • Loading branch information
lukeis committed Oct 18, 2013
1 parent 44463f4 commit 57b0692
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
from selenium.webdriver.common.html5.application_cache import ApplicationCache

try:
bytes
except NameError: # Python 2.x compatibility
bytes = str
str = unicode
str = basestring
except NameError:
pass

class WebDriver(object):
"""
Expand Down

0 comments on commit 57b0692

Please sign in to comment.