Browse Source
Fix self._process not existing during cleanup() in case of error
pull/915/head
Daniel
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
discord/player.py
|
|
@ -156,6 +156,7 @@ class FFmpegPCMAudio(AudioSource): |
|
|
|
|
|
|
|
args.append('pipe:1') |
|
|
|
|
|
|
|
self._process = None |
|
|
|
try: |
|
|
|
self._process = subprocess.Popen(args, stdin=stdin, stdout=subprocess.PIPE, stderr=stderr) |
|
|
|
self._stdout = self._process.stdout |
|
|
|