This commit is contained in:
Daniel Langbein 2020-12-03 16:51:01 +01:00
parent aa62d31c29
commit 5e386a083d

View File

@ -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
"""