From 5e386a083d2bf28b080cc6d62599e001124a19ba Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 3 Dec 2020 16:51:01 +0100 Subject: [PATCH] fix --- src/langfingaz/parseMeetings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/langfingaz/parseMeetings.py b/src/langfingaz/parseMeetings.py index afe6278..93b2415 100644 --- a/src/langfingaz/parseMeetings.py +++ b/src/langfingaz/parseMeetings.py @@ -60,10 +60,11 @@ class BbbStatus(object): pointOfTime: datetime = None - @classmethod + @staticmethod def getKey(bbbStatus): """ Returns the date of this object as key for sorting. + See also: https://docs.python.org/3.7/howto/sorting.html#key-functions :return: Key that can be used for sorting """