From 2e354a0c0ed8db276ee6edd935bbeab173f631f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 10 May 2024 11:28:36 +0200 Subject: [PATCH] Do not treat file value special in identifiable repr --- src/caoscrawler/identifiable.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/caoscrawler/identifiable.py b/src/caoscrawler/identifiable.py index 3114abc4..edab85d3 100644 --- a/src/caoscrawler/identifiable.py +++ b/src/caoscrawler/identifiable.py @@ -94,8 +94,6 @@ class Identifiable(): if value is None: return "None" - elif isinstance(value, db.File): # TODO - return str(value.path) elif isinstance(value, SyncNode): if value.id is not None: return str(value.id) -- GitLab