fix: [zmq importer] fix object source name

dev
terrtia 2023-12-12 10:14:59 +01:00
parent 2e38a96686
commit 4529a76d13
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class ZMQModuleImporter(AbstractModule):
obj_id, gzip64encoded = message.split(' ', 1) # TODO ADD LOGS obj_id, gzip64encoded = message.split(' ', 1) # TODO ADD LOGS
splitted = obj_id.split('>>', 1) splitted = obj_id.split('>>', 1)
if splitted == 2: if len(splitted) == 2:
feeder_name, obj_id = splitted feeder_name, obj_id = splitted
else: else:
feeder_name = self.default_feeder_name feeder_name = self.default_feeder_name