le retour la ligne faisait plant javascript

darcs-hash:20061207113003-f46e9-bc72c4a6e79d19a04ebafe78245df1fc381b39ac.gz
This commit is contained in:
gdetrez 2006-12-07 12:30:03 +01:00
parent da5949824d
commit 7c0d52a517

View file

@ -161,7 +161,7 @@ class root:
# #
def etatImprimante(self): def etatImprimante(self):
try: try:
return {"printer_state" : u"\n".join(crans.impression.etat_imprimante.etat())} return {"printer_state" : u"\\n".join(crans.impression.etat_imprimante.etat())}
except Exception, e: except Exception, e:
return {"printer_state" : 'Imprimante hors ligne'} return {"printer_state" : 'Imprimante hors ligne'}
etatImprimante.exposed = True etatImprimante.exposed = True