mirror of https://gitlab.com/bashrc2/epicyon
Remove etag quotes if they exist
parent
f1ab45a668
commit
d29d77e248
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue