Commit cb58f8f6 authored by Valentin Samir's avatar Valentin Samir

[deconnexion] s/proprio.machine()/proprio.machines()/

parent 342e7366
......@@ -232,7 +232,7 @@ for elupload, eltype, elid in uploadeurs:
# On inscrit l'instance dans la table des avertis_hard
######################################################
curseur.execute("INSERT INTO avertis_upload_hard (type,id,date) VALUES ('%s','%d','now')"%(eltype,elid))
analyse.stats_fork('-%s' % debut, ip_crans=[m.ip() for m in proprio.machine()], show_limit=500)
analyse.stats_fork('-%s' % debut, ip_crans=[m.ip() for m in proprio.machines()], show_limit=500)
except Exception as error:
sys.stderr.write("Blacklist de id=%s pour %s Mo échoué, %s\n" % (proprio.id(), elupload, error))
continue
......
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