Extraneous slash

main
Bob Mottram 2020-08-31 19:19:57 +01:00
parent 4dbe934d3b
commit 7c2f0cb5d7
1 changed files with 1 additions and 1 deletions

View File

@ -4831,7 +4831,7 @@ class PubServer(BaseHTTPRequestHandler):
# Note that this comes before the busy flag to avoid conflicts # Note that this comes before the busy flag to avoid conflicts
if self.path.startswith('/avatars/'): if self.path.startswith('/avatars/'):
mediaFilename = \ mediaFilename = \
self.server.baseDir + '/cache/' + self.path self.server.baseDir + '/cache' + self.path
if os.path.isfile(mediaFilename): if os.path.isfile(mediaFilename):
if self._etag_exists(mediaFilename): if self._etag_exists(mediaFilename):
# The file has not changed # The file has not changed