Skip to content

Commit

Permalink
edited doc string for set_timeout and get_timeout functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Ropan committed Jul 6, 2015
1 parent 5283232 commit 915a3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webkit_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ def set_proxy(self, host = "localhost",
self.conn.issue_command("SetProxy", host, port, user, password)

def set_timeout(self, timeout):
""" Set timeout load page """
""" Set timeout for every webkit-server command """
self.conn.issue_command("SetTimeout", timeout)

def get_timeout(self):
""" Get timeout load page """
""" Return timeout for every webkit-server command """
return int(self.conn.issue_command("GetTimeout"))

def clear_proxy(self):
Expand Down

0 comments on commit 915a3df

Please sign in to comment.