convert-to-mp3: fix parameter type
This commit is contained in:
parent
64621a4775
commit
c341117250
@ -22,7 +22,7 @@ def main(argv):
|
|||||||
|
|
||||||
for f in args:
|
for f in args:
|
||||||
if os.path.isfile(f):
|
if os.path.isfile(f):
|
||||||
Popen(['lame', '-v', '-b', bitrate, f, f + '.mp3']).wait()
|
Popen(['lame', '-v', '-b', str(bitrate), f, f + '.mp3']).wait()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main(sys.argv)
|
main(sys.argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user