Fix: typo in filename suffix
This commit is contained in:
parent
52d689a330
commit
0e643c1f5d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def record_worker(stoprec, streamurl, target_dir, args):
|
||||||
sys.exit()
|
sys.exit()
|
||||||
else:
|
else:
|
||||||
print('Unknown content type "' + content_type + '". Assuming mp3.')
|
print('Unknown content type "' + content_type + '". Assuming mp3.')
|
||||||
filename += 'mp3'
|
filename += '.mp3'
|
||||||
|
|
||||||
with open(filename, "wb") as target:
|
with open(filename, "wb") as target:
|
||||||
if args.public:
|
if args.public:
|
||||||
|
|
Loading…
Reference in a new issue