[impression/etat_imprimante.py] renvoie une liste de chaine de caractères

darcs-hash:20090526012033-bd074-4349b2fa2d7a0e3b139ac10d3d3fbb9a70f2a797.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-05-26 03:20:33 +02:00
parent f2e7a94cc4
commit b935fef42a

View file

@ -41,7 +41,7 @@ def etat_canon():
for oid in [".hrPrinterStatus.1", ".hrDeviceStatus.1"]:
#".hrPrinterDetectedErrorState.1"
msg.append(comm.get_string(oid))
liste_msg = [ _dico['\n'.join(msg)] ]
liste_msg = _dico['\n'.join(msg)].split('\n')
except Exception,err:
liste_msg.append("[%s]" % unicode(err))