Skip to content

Commit

Permalink
Fix: typo in filename suffix
Browse files Browse the repository at this point in the history
beedaddy committed Jan 22, 2015
1 parent 52d689a commit 0e643c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiorec.py
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 0e643c1

Please sign in to comment.