Remove etag quotes if they exist

main
Bob Mottram 2021-08-11 19:46:32 +01:00
parent f1ab45a668
commit d29d77e248
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ class PubServer(BaseHTTPRequestHandler):
etagHeader = 'If-none-match'
if self.headers.get(etagHeader):
oldEtag = self.headers['If-None-Match']
oldEtag = self.headers[etagHeader].replace('"', '')
if os.path.isfile(mediaFilename + '.etag'):
# load the etag from file
currEtag = ''