diff options
Diffstat (limited to 'bvggrabber/api/actualdeparture.py')
-rw-r--r-- | bvggrabber/api/actualdeparture.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bvggrabber/api/actualdeparture.py b/bvggrabber/api/actualdeparture.py index dd129b0..63cb97a 100644 --- a/bvggrabber/api/actualdeparture.py +++ b/bvggrabber/api/actualdeparture.py @@ -57,7 +57,8 @@ class ActualDepartureQueryApi(QueryApi): else: try: response.raise_for_status() - except RequestException as e: + except requests.RequestException as e: return Response(False, error=e) else: - return Response(False, error=Exception("An unknown error occured")) + return Response(False, + error=Exception("An unknown error occured")) |