From dda607ff0041ba2f11523b05137e6db84beb9d98 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Aug 2021 21:26:09 +0100 Subject: [PATCH] Remove debug --- daemon.py | 2 +- posts.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index 08d377f83..ac71c7d70 100644 --- a/daemon.py +++ b/daemon.py @@ -15160,7 +15160,7 @@ def runDaemon(sharedItemsFederatedDomains: [], loadTranslationsFromFile(baseDir, language) if not httpd.systemLanguage: print('ERROR: no system language loaded') - sys.exit() + sys.exit() print('System language: ' + httpd.systemLanguage) if not httpd.translate: print('ERROR: no translations were loaded') diff --git a/posts.py b/posts.py index c6da56aa2..247f2b073 100644 --- a/posts.py +++ b/posts.py @@ -3382,7 +3382,6 @@ def _createBoxIndexed(recentPostsCache: {}, continue else: print('Post not added to timeline') - print('postsInBox: ' + str(len(postsInBox))) # read the post from file fullPostFilename = \ @@ -3401,7 +3400,6 @@ def _createBoxIndexed(recentPostsCache: {}, print('WARN: Unable to add post ' + postUrl + ' nickname ' + nickname + ' timeline ' + boxname) - print('postsInBox: ' + str(len(postsInBox))) else: if timelineNickname != nickname: # if this is the features timeline @@ -3417,7 +3415,6 @@ def _createBoxIndexed(recentPostsCache: {}, print('WARN: Unable to add features post ' + postUrl + ' nickname ' + nickname + ' timeline ' + boxname) - print('postsInBox: ' + str(len(postsInBox))) else: print('WARN: features timeline. ' + 'Unable to locate post ' + postUrl)