From 0e643c1f5de7eae1fd898e5ad4211608e9752544 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 22 Jan 2015 09:07:55 +0100 Subject: [PATCH] Fix: typo in filename suffix --- radiorec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiorec.py b/radiorec.py index 81ab395..abae95c 100755 --- a/radiorec.py +++ b/radiorec.py @@ -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: