def get_video_events(self): self.dllock.acquire() try: return DownloadConfigInterface.get_video_events(self) finally: self.dllock.release()