Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
removed timeout causing issues ..
Browse files Browse the repository at this point in the history
  • Loading branch information
r0oth3x49 committed Nov 16, 2019
1 parent 6d605db commit 0f8d01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udemy/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _set_auth_headers(self, access_token='', client_id=''):
self._headers['X-Udemy-Authorization'] = "Bearer {}".format(access_token)

def _get(self, url):
session = self._session.get(url, headers=self._headers, timeout=15)
session = self._session.get(url, headers=self._headers)
if session.ok or session.status_code in [502, 503]:
return session
if not session.ok:
Expand Down

0 comments on commit 0f8d01f

Please sign in to comment.