added documentation

This commit is contained in:
Jannes Höke 2015-11-10 05:16:16 +01:00
parent 90a77ab7a1
commit cd5e805692

View file

@ -79,6 +79,9 @@ def post(url,
Returns:
A JSON object.
"""
# Add one second to the timeout of urlopen to allow data to be transferred
# over the network.
if "timeout" in data:
timeout = data["timeout"] + 1.
else: