mirror of
https://github.com/gryf/flac2ogg.git
synced 2026-10-16 20:32:30 +02:00
Fix issue with providing arguments for check_call.
All arguments for subprocess.check_call() must be list of strings.
This commit is contained in:
1 parent
7a671a5a6d
commit
e41ba097ef
2 files changed
+7
-6
No files matched your search
+2
-2
@@ -14,7 +14,7 @@ from mutagen.mp3 import MP3
|
||||
from mutagen.easyid3 import EasyID3, EasyID3KeyError
|
||||
|
||||
|
||||
VERSION = '1.3'
|
||||
VERSION = '1.3.1'
|
||||
|
||||
|
||||
def match_file(path):
|
||||
@@ -158,7 +158,7 @@ class OpusEncoder(Encoder):
|
||||
self.quality = 128
|
||||
|
||||
def encode(self, input_fname, output_fname):
|
||||
sp.check_call(["opusenc", "--bitrate", self.quality, input_fname,
|
||||
sp.check_call(["opusenc", "--bitrate", str(self.quality), input_fname,
|
||||
output_fname])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user