From f7a0890369eff4b9abbd0890ef57fdbed701771b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 13 Jan 2020 11:45:36 +0000 Subject: [PATCH] Remove debug --- posts.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/posts.py b/posts.py index e6d8fd8f8..6b457816d 100644 --- a/posts.py +++ b/posts.py @@ -488,8 +488,7 @@ def addSchedulePost(baseDir: str,nickname: str,domain: str, \ content = scheduleFile.read() scheduleFile.seek(0, 0) scheduleFile.write(indexStr+'\n'+content) - if debug: - print('DEBUG: scheduled post added to index') + print('DEBUG: scheduled post added to index') except Exception as e: print('WARN: Failed to write entry to scheduled posts index '+ \ scheduleIndexFilename+' '+str(e))