Commit f2891637 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue
Browse files

[etat_imprimante] syntax error

 * Quand on veut commenter le contenu d'un for, soit on commente aussi le for,
 soit on met un pass
parent 45a9d9cd
......@@ -38,7 +38,8 @@ def etat_canon():
for oid in [".hrPrinterStatus.1", ".hrDeviceStatus.1"]:
#".hrPrinterDetectedErrorState.1"
# raw_msg.append(comm.get_string(oid))
# raw_msg.append(comm.get_string(oid))
pass
msg = _dico['\n'.join(msg)].split('\n')
if raw_msg[1] == 'warning(3)':
......
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