Remove debug

merge-requests/6/head
Bob Mottram 2020-01-13 11:45:36 +00:00
parent 0f8da38844
commit f7a0890369
1 changed files with 1 additions and 2 deletions

View File

@ -488,8 +488,7 @@ def addSchedulePost(baseDir: str,nickname: str,domain: str, \
content = scheduleFile.read() content = scheduleFile.read()
scheduleFile.seek(0, 0) scheduleFile.seek(0, 0)
scheduleFile.write(indexStr+'\n'+content) 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: except Exception as e:
print('WARN: Failed to write entry to scheduled posts index '+ \ print('WARN: Failed to write entry to scheduled posts index '+ \
scheduleIndexFilename+' '+str(e)) scheduleIndexFilename+' '+str(e))