From 2d861657957306787259cbba28dec42032f875fb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Feb 2021 17:45:53 +0000 Subject: [PATCH] Origin check --- webapp_person_options.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp_person_options.py b/webapp_person_options.py index 3ee334b49..5f824b3bc 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -351,8 +351,7 @@ def htmlPersonOptions(defaultTimeline: str, translate['Info'] + '\n' personNotes = '' - print('originPathStr=' + originPathStr) - if originPathStr.startswith('/users/' + nickname + '/'): + if originPathStr == '/users/' + nickname: personNotesFilename = \ baseDir + '/accounts/' + nickname + '@' + domain + \ '/notes/' + handle + '.txt'