le retour la ligne faisait plant javascript
darcs-hash:20061207113003-f46e9-bc72c4a6e79d19a04ebafe78245df1fc381b39ac.gz
This commit is contained in:
parent
da5949824d
commit
7c0d52a517
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue