Commit 4f7ae2a0 authored by Linedwell's avatar Linedwell

debug message

parent cb5118b6
......@@ -62,7 +62,7 @@ def getInactiveSysops(list, hardlimit, softlimit):
#Notifie un admin ayant presque atteint le seuil d'inactivité de la possible suspension de ses outils
def notifySysop(sysop,hrdate,hrdeadline):
notif = u"\n\n{{subst:Utilisateur:LinedBot/NotifAdminInactif|hrdate|hrdeadline}}\n"
notif = u"\n\n{{subst:Utilisateur:LinedBot/NotifAdminInactif|%s|%s}}\n" %(hrdate,hrdeadline)
page = pywikibot.Page(site,u"Discussion utilisateur:"+sysop)
page.text = page.text + notif
......@@ -113,7 +113,6 @@ def main():
sysopLastEdit = getSysopsLastEdit()
inactiveSysops = getInactiveSysops(sysopLastEdit,hardlimit,softlimit)
print inactiveSysops
reportInactiveSysops(inactiveSysops)
timeEnd = time.time()
......
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