[etat_imprimante] syntax error

* Quand on veut commenter le contenu d'un for, soit on commente aussi le for,
 soit on met un pass
This commit is contained in:
Pierre-Elliott Bécue 2014-04-13 18:45:53 +02:00
parent 45a9d9cdae
commit f2891637b0

View file

@ -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)':