From 0638290ae33999e4f8d7014f4b094c87c03afd44 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 25 Oct 2019 13:46:33 +0100 Subject: [PATCH] Base directory --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index d499757d..c7b104f2 100644 --- a/daemon.py +++ b/daemon.py @@ -2835,7 +2835,7 @@ class PubServer(BaseHTTPRequestHandler): self.send_response(303) # This produces a deterministic token based on nick+password+salt if not self.server.salts.get(loginNickname): - saltFilename=baseDir+'/accounts/'+loginNickname+'@'+self.server.domain+'/.salt' + saltFilename=self.server.baseDir+'/accounts/'+loginNickname+'@'+self.server.domain+'/.salt' if os.path.isfile(saltFilename): with open(saltFilename, 'r') as fp: self.server.salts[loginNickname] = fp.read()