Skip to content

Commit

Permalink
fix: [zmq importer] fix object source name
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 12, 2023
1 parent 2e38a96 commit 4529a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/importer/ZMQImporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def compute(self, messages):

obj_id, gzip64encoded = message.split(' ', 1) # TODO ADD LOGS
splitted = obj_id.split('>>', 1)
if splitted == 2:
if len(splitted) == 2:
feeder_name, obj_id = splitted
else:
feeder_name = self.default_feeder_name
Expand Down

0 comments on commit 4529a76

Please sign in to comment.