[impression/etat_imprimante.py] renvoie une liste de chaine de caractères
darcs-hash:20090526012033-bd074-4349b2fa2d7a0e3b139ac10d3d3fbb9a70f2a797.gz
This commit is contained in:
parent
f2e7a94cc4
commit
b935fef42a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def etat_canon():
|
||||||
for oid in [".hrPrinterStatus.1", ".hrDeviceStatus.1"]:
|
for oid in [".hrPrinterStatus.1", ".hrDeviceStatus.1"]:
|
||||||
#".hrPrinterDetectedErrorState.1"
|
#".hrPrinterDetectedErrorState.1"
|
||||||
msg.append(comm.get_string(oid))
|
msg.append(comm.get_string(oid))
|
||||||
liste_msg = [ _dico['\n'.join(msg)] ]
|
liste_msg = _dico['\n'.join(msg)].split('\n')
|
||||||
except Exception,err:
|
except Exception,err:
|
||||||
liste_msg.append("[%s]" % unicode(err))
|
liste_msg.append("[%s]" % unicode(err))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue