change timeout
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ URL = "http://"+sys.argv[1]+"/cgi-bin/reboot.cgi"
|
|||||||
USER = sys.argv[2]
|
USER = sys.argv[2]
|
||||||
PASS = sys.argv[3]
|
PASS = sys.argv[3]
|
||||||
|
|
||||||
h = httplib2.Http(cache=None, timeout=0.2)
|
h = httplib2.Http(cache=None, timeout=0.5)
|
||||||
h.add_credentials(USER, PASS)
|
h.add_credentials(USER, PASS)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user