Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
nounous-archives
intranet
Commits
616da1ef
Commit
616da1ef
authored
Oct 12, 2017
by
Remi Oudin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mauvaise syntaxe pour le rattrapage d'erreurs.
parent
a9f3ea9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
printer/models.py
printer/models.py
+1
-1
No files found.
printer/models.py
View file @
616da1ef
...
...
@@ -32,7 +32,7 @@ class Printer(models.Model):
supply
.
update_from_snmp
()
self
.
refresh_alerts
()
# Since the number of alert is changing we refresh instead of update
self
.
update_from_snmp
()
except
SNMPException
(
err
)
:
except
SNMPException
as
err
:
print
err
def
refresh_paper_trays
(
self
):
for
paper_tray
in
self
.
paper_trays
.
all
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment