main
Bob Mottram 2020-04-11 14:07:05 +01:00
parent 9856d34ff4
commit 82c859852f
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,7 @@ def searchBoxPosts(baseDir: str, nickname: str, domain: str,
"""Uses a regular expression to search for posts
and returns a list of the filenames
"""
path = baseDir + '/accounts' + nickname + '@' + domain + '/' + boxName
path = baseDir + '/accounts/' + nickname + '@' + domain + '/' + boxName
if not os.path.isdir(path):
return []
regObj = re.compile(searchRegex)