Commit c002bd1d authored by Linedwell's avatar Linedwell

correctif: variable mal nommée

parent 22076aed
......@@ -35,7 +35,7 @@ def editLog(site,log,page='Utilisateur:LinedBot/Log',summary='',ar=True,cl=False
pageLogTemp = pageLog.get()
if cl > 0:
pageLogTemp = clean(pageTemp,cl)
pageLogTemp = clean(pageLogTemp,cl)
if pageLogTemp.find(u'== ' + month[int(time.strftime('%m'))] + ' ==') == -1: pageLogTemp += u'\n\n== ' + month[int(time.strftime('%m'))] + ' =='
if pageLogTemp.find(u'=== ' + time.strftime('%Y-%m-%d') + ' ===') != -1: pageLogTemp += '\n' + log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment