diff --git a/src/fellchensammlung/tasks.py b/src/fellchensammlung/tasks.py index a17fda3..d1f3dc8 100644 --- a/src/fellchensammlung/tasks.py +++ b/src/fellchensammlung/tasks.py @@ -9,6 +9,7 @@ def set_timestamp(key: str): try: ts = Timestamp.objects.get(key=key) ts.timestamp = timezone.now() + ts.save() except Timestamp.DoesNotExist: Timestamp.objects.create(key=key, timestamp=timezone.now())