Skip to content

Commit

Permalink
fixed flake error
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdoman committed Apr 1, 2019
1 parent cca4820 commit 1626502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion penn/studyspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def get_reservations(self, email, date, timeout=None):
resp = self._request("GET", "/1.1/space/bookings?email={}&date={}&limit=100".format(email, date), timeout=timeout)
except resp.exceptions.HTTPError as error:
raise APIError("Server Error: {}".format(error))
except requests.exceptions.ConnectTimeout as error:
except requests.exceptions.ConnectTimeout:
raise APIError("Timeout Error")
return resp.json()

Expand Down

0 comments on commit 1626502

Please sign in to comment.