diff --git a/setra_client/client.py b/setra_client/client.py
index 49695bdf5f66b1af91948fe30b697024f398e1d5..80a747ffdcd6422fe654c48bc899bd6e43502a5d 100644
--- a/setra_client/client.py
+++ b/setra_client/client.py
@@ -289,7 +289,7 @@ class SetraClient(object):
                              return_response=True)
         if response.status_code in (204, 202):
             return 'OK'
-        elif response.status_code is 409:
+        elif response.status_code == 409:
             return 'batch_found_but_cannot_be_updated'
         else:
             response.raise_for_status()