master
Bob Mottram 2019-09-01 11:11:06 +01:00
parent e93071af5d
commit 35dac59e8f
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ def threadSendPost(session,postJsonStr: str,federationList: [],\
# keep the length of the log finite # keep the length of the log finite
# Don't accumulate massive files on systems with limited resources # Don't accumulate massive files on systems with limited resources
while len(postLog)>16: while len(postLog)>16:
postlog.pop(0) postLog.pop(0)
# save the log file # save the log file
postLogFilename=baseDir+'/post.log' postLogFilename=baseDir+'/post.log'
with open(postLogFilename, "a+") as logFile: with open(postLogFilename, "a+") as logFile: