Fix: typo in filename suffix

This commit is contained in:
Martin Brodbeck 2015-01-22 09:07:55 +01:00
parent 52d689a330
commit 0e643c1f5d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def record_worker(stoprec, streamurl, target_dir, args):
sys.exit()
else:
print('Unknown content type "' + content_type + '". Assuming mp3.')
filename += 'mp3'
filename += '.mp3'
with open(filename, "wb") as target:
if args.public: