1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Set the process originally to avoid error's on failed source's cleanups

This commit is contained in:
Phxntxm 2017-07-27 19:18:07 -05:00
parent af8b3bcf29
commit 7c4c7facaa

View file

@ -8,6 +8,7 @@ from .entry import get_header
class YoutubeDLSource(discord.FFmpegPCMAudio):
def __init__(self, playlist, url):
self._process = None
self.playlist = playlist
self.loop = playlist.loop
self.downloader = playlist.downloader