Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil-Singhal-06 committed Oct 17, 2024
1 parent 3d38ed4 commit 97eac1a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,12 @@ def check_topic(self):
if not topic_types:
result = False
break
current_topic_type = topic_types[0].replace('/', '.')
if not self.topic_type:
self.topic_type = topic_types[0] # 'topic_type' is not specified, the process will continue with the found one
self.topic_type = current_topic_type # 'topic_type' is not specified, the process will continue with the found one
self.call_subscriber()
self.is_topic = True
elif self.topic_type != topic_types[0]:
elif self.topic_type != current_topic_type:
result = False
else:
self.call_subscriber()
Expand Down

0 comments on commit 97eac1a

Please sign in to comment.