From b3ca4af05eec8108a81a5f6e3480bd530a164fa7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Feb 2020 18:38:25 +0000 Subject: [PATCH] Typo --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 38e9306b..3a20bd4c 100644 --- a/daemon.py +++ b/daemon.py @@ -870,11 +870,11 @@ class PubServer(BaseHTTPRequestHandler): def _pathContainsBlogLink(self,baseDir: str,httpPrefix: str,domain: str,path: str) -> (str,str): """If the path contains a blog entry then return its filename """ - userEnding=path.split('/users/') + userEnding=path.split('/users/',1) print('Test1 '+path+' '+str(userEnding)) if '/' not in userEnding: return None,None - userEnding=userEnging.split('/') + userEnding=userEnding.split('/') print('Test2 '+str(userEnding)) if len(userEnding)!=2: return None,None