Commit 33e307f5 authored by Lucas Serrano's avatar Lucas Serrano

[printer_watch] .gitignore + correction de bug

parent f4c315cd
......@@ -56,4 +56,4 @@ secours/etat_*
sip/sound/
#Fichier de dernier statut de l'imprimante
impression/printer_watch_status.json
var/impression/printer_watch_status.json
......@@ -55,6 +55,8 @@ elif status == ('2',) and successfuly_imported and last_status == '5':
sendmail.sendmail(u"imprimante.adm@crans.org", u"impression@lists.crans.org", u"Imprimante fonctionnelle", msg, more_headers={"X-Mailer": "/usr/scripts/impression/printer_watch.py", "In-Reply-To": message_id})
message_id = None
elif successfuly_imported:
pass
else:
message_id = None
......
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