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

Mauvaise syntaxe pour le rattrapage d'erreurs.

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