Skip to content

Commit 6d09bf0

Browse files
author
Andres Tarantini
committed
Client: Removed unnecesary code.
1 parent 926c0e6 commit 6d09bf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymango/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ def req(api_key, method, endpoint, data=None, params=None):
6161
text=response.text
6262
))
6363
raise InputValidationError(error_code, error_message)
64-
elif response.status_code == 404:
65-
raise NotFound
6664
elif response.status_code == 401:
6765
raise AuthenticationError
6866
elif response.status_code == 404:

0 commit comments

Comments
 (0)