From ed92f4c0a9baf285270a3b98fdab5e1601b91fc4 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Mon, 8 May 2023 14:43:16 +0200 Subject: [PATCH] FIX: Prevent SyntaxWarning --- src/caoscrawler/identifiable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caoscrawler/identifiable.py b/src/caoscrawler/identifiable.py index eda113d8..75af5be8 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: -- GitLab