Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bigbluebutton_api_python/bigbluebutton.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ def __send_api_request(self, api_call, params={}, data=None):

# if data is none, then we send a GET request, if not, then we send a POST request
if data is None:
response = urlopen(url).read()
response = urlopen(url, timeout=10).read()
else:
response = urlopen(url, data=urlencode(data).encode()).read()
response = urlopen(url, timeout=10, data=urlencode(data).encode()).read()

try:
rawXml = parse(response)["response"]
Expand Down