Skip to content

Commit

Permalink
removed extra "_" in __name__ (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ambrosio authored Aug 1, 2024
1 parent 7f59b70 commit 78d9299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MyNode(Node):
self.get_logger().info("Recieved: %s" % msg.data)
self.publisher.publish(msg)

if __name___ == "__main__":
if __name__ == "__main__":
rclpy.init()
my_node = MyNode()
rclpy.spin(my_node)
Expand Down

0 comments on commit 78d9299

Please sign in to comment.