mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 22:49:31 +00:00
add common view serializers
This commit is contained in:
@@ -242,7 +242,7 @@ class ReleaseVersion:
|
||||
|
||||
return False
|
||||
|
||||
def get_update(self) -> dict:
|
||||
def get_update(self) -> dict | None:
|
||||
"""return new version dict if available"""
|
||||
message = RedisArchivist().get_message_dict(self.NEW_KEY)
|
||||
return message
|
||||
return message or None
|
||||
|
||||
Reference in New Issue
Block a user