Remove stray variable

main
Bob Mottram 2019-11-14 14:01:26 +00:00
parent 4e7655820e
commit adae51b090
1 changed files with 0 additions and 1 deletions

View File

@ -451,7 +451,6 @@ def saveMediaInFormPOST(mediaBytes,debug: bool, \
searchStr=b'Content-Type: '+contentType.encode('utf8', 'ignore') searchStr=b'Content-Type: '+contentType.encode('utf8', 'ignore')
mediaLocation=mediaBytes.find(searchStr) mediaLocation=mediaBytes.find(searchStr)
if mediaLocation>-1: if mediaLocation>-1:
mediaFound=True
if extension=='jpeg': if extension=='jpeg':
extension='jpg' extension='jpg'
elif extension=='mpeg': elif extension=='mpeg':