ErnGusMik / python-tello

Re-defined variable from outer scope PYL-W0621
Anti-pattern
Major
a year ago2 years old
Redefining name 'string' from outer scope (line 5)
689        )
690
691    def set_display_string(self, direction: str, color: str, frame_rate: float
692                           or int, string: str):693        """Sends command to show a string on the display"""
694        logging.debug("Sending command: set_display_string()")
695        for char in direction: