diff --git a/src/caoscrawler/identifiable.py b/src/caoscrawler/identifiable.py
index eda113d8fc0c5fc64a620ef7540dec4004401aef..75af5be8f06a6ab95a4b7f2b92eda8cf3e321a1b 100644
--- a/src/caoscrawler/identifiable.py
+++ b/src/caoscrawler/identifiable.py
@@ -65,7 +65,7 @@ class Identifiable():
         self.path = path
         self.record_type = record_type
         self.name = name
-        if name is "":
+        if name == "":
             self.name = None
         self.properties: dict = {}
         if properties is not None: