From 5a7180e0407df371ee01773229c5ea764175ed38 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Aug 2019 20:10:27 +0100 Subject: [PATCH] media type --- media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media.py b/media.py index 04a1736d..7f16faa3 100644 --- a/media.py +++ b/media.py @@ -95,7 +95,7 @@ def attachMedia(baseDir: str,httpPrefix: str,domain: str,port: int, \ if fileExtension=='jpeg': fileExtension='jpg' - if mediaType=='audio' and fileExtension=='mpeg': + if mediaType=='audio/mpeg': fileExtension='mp3' if port: