updated wait syntax because it was not supported any longer in asyncClient, replaced youtube-dl with yt-dlp in Commands
This commit is contained in:
@@ -79,7 +79,7 @@ class AsyncClient():
|
||||
|
||||
Data = json.dumps(obj, ensure_ascii = False, separators = (',', ':')).encode("UTF-8")
|
||||
|
||||
with (await self.SendLock):
|
||||
async with self.SendLock:
|
||||
if not self.Protocol:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user