From 52b590aa52598b9644a6b466a02112d66f34a595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Tue, 27 Jun 2023 11:24:21 +0200 Subject: [PATCH] FIX add static --- src/caosdb/common/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index a3159821..8a961a52 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -2580,6 +2580,7 @@ class Messages(list): super().append(msg) + @staticmethod def _hash(t, c): return hash(str(t).lower() + (str(",") + str(c) if c is not None else '')) # end remove -- GitLab