mirror of https://github.com/CIRCL/AIL-framework
fix: [zmq importer] fix object source name
parent
2e38a96686
commit
4529a76d13
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue