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'):
nickname = getNicknameFromActor(self.path)
followingFilename = \
self.baseDir + '/accounts/' + \
nickname + '@' + self.domain + '/following.txt'
self.server.baseDir + '/accounts/' + \
nickname + '@' + self.server.domain + '/following.txt'
if not os.path.isfile(followingFilename):
self._404()
return