Missing server

main
Bob Mottram 2020-06-17 17:52:45 +01:00
parent 6d9771f22b
commit 725719ae7d
1 changed files with 2 additions and 2 deletions

View File

@ -1564,8 +1564,8 @@ class PubServer(BaseHTTPRequestHandler):
self.path.endswith('/followingaccounts'): self.path.endswith('/followingaccounts'):
nickname = getNicknameFromActor(self.path) nickname = getNicknameFromActor(self.path)
followingFilename = \ followingFilename = \
self.baseDir + '/accounts/' + \ self.server.baseDir + '/accounts/' + \
nickname + '@' + self.domain + '/following.txt' nickname + '@' + self.server.domain + '/following.txt'
if not os.path.isfile(followingFilename): if not os.path.isfile(followingFilename):
self._404() self._404()
return return