Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
reduce that logic a bit...
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Feb 10, 2016
1 parent 569584a commit 98aa08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/test/selenium/webdriver/common/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def do_GET(self):
"""GET method handler."""
try:
path = self.path[1:].split('?')[0]
if path[:4] == "page" and path[4] == '/':
if path[:5] == "page/":
html = """<html><head><title>Page{page_number}</title></head>
<body>Page number <span id=\"pageNumber\">{page_number}</span>
<p><a href=\"../xhtmlTest.html\" target=\"_top\">top</a>
Expand Down

0 comments on commit 98aa08b

Please sign in to comment.