Commit 616da1ef authored by Remi Oudin's avatar Remi Oudin

Mauvaise syntaxe pour le rattrapage d'erreurs.

parent a9f3ea9e
...@@ -32,7 +32,7 @@ class Printer(models.Model): ...@@ -32,7 +32,7 @@ class Printer(models.Model):
supply.update_from_snmp() supply.update_from_snmp()
self.refresh_alerts() # Since the number of alert is changing we refresh instead of update self.refresh_alerts() # Since the number of alert is changing we refresh instead of update
self.update_from_snmp() self.update_from_snmp()
except SNMPException(err): except SNMPException as err:
print err print err
def refresh_paper_trays(self): def refresh_paper_trays(self):
for paper_tray in self.paper_trays.all(): for paper_tray in self.paper_trays.all():
......
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