fix: [tags] fix typo

This commit is contained in:
terrtia 2024-02-02 11:53:25 +01:00
parent 67e5c5777d
commit 1a2d1e41f5
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -1249,7 +1249,7 @@ class Tag:
return last_seen return last_seen
def set_last_seen(self, last_seen): def set_last_seen(self, last_seen):
return r_tags.hset(f'meta:tag:{self.name}', 'last_seen', int(last_seen) return r_tags.hset(f'meta:tag:{self.name}', 'last_seen', int(last_seen))
def get_color(self): def get_color(self):
color = r_tags.hget(f'meta:tag:{self.name}', 'color') color = r_tags.hget(f'meta:tag:{self.name}', 'color')