From 361b919ee9e702d5a9cc35e8e0be8d345a89858e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 13:47:04 +0000 Subject: [PATCH] Reverse logic --- blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog.py b/blog.py index 26933b70..ddc66a0b 100644 --- a/blog.py +++ b/blog.py @@ -191,7 +191,7 @@ def noOfBlogAccounts(baseDir: str) -> int: for acct in dirs: if '@' not in acct: continue - if 'inbox@' not in acct: + if 'inbox@' in acct: continue accountDir=os.path.join(baseDir+'/accounts', acct) blogsIndex=accountDir+'/tlblogs.index'