mirror of https://gitlab.com/bashrc2/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()
|
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))
|
||||||
|
|
Loading…
Reference in New Issue