forked from indymedia/epicyon
Remove debug
parent
0f8da38844
commit
f7a0890369
3
posts.py
3
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))
|
||||
|
|
Loading…
Reference in New Issue