fix: [retro hunt] fix add tags

This commit is contained in:
terrtia 2024-11-20 15:10:48 +01:00
parent 3c376c8f06
commit 72afd3ef62
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -139,8 +139,7 @@ class Retro_Hunt_Module(AbstractModule):
# Tags # Tags
if self.obj.get_type() == 'item': if self.obj.get_type() == 'item':
for tag in self.tags: for tag in self.tags:
msg = f'{tag};{obj_id}' self.add_message_to_queue(obj=self.obj, message=tag, queue='Tags')
self.add_message_to_queue(msg, 'Tags')
else: else:
for tag in self.tags: for tag in self.tags:
self.obj.add_tag(tag) self.obj.add_tag(tag)