Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, *args, **kwargs):
BufferedRenderer.__init__(self, *args, **kwargs)
self.flush_on_draw = False
self.queue = queue.Queue()
self.thread = TileThread(renderer=self)
self.thread.start()