chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2374ac
)
increase getShortErrorString to 30 characters for more meaningful logs
author
hg42@gmx.net
<hg42@gmx.net>
Sun, 5 Jan 2014 16:02:36 +0000
(17:02 +0100)
committer
hg42@gmx.net
<hg42@gmx.net>
Sun, 5 Jan 2014 16:02:36 +0000
(17:02 +0100)
--HG--
extra : source :
40022ac1f4b7bd8394b5dc74036b2ba2355ef45d
Cura/util/machineCom.py
patch
|
blob
|
history
diff --git
a/Cura/util/machineCom.py
b/Cura/util/machineCom.py
index 8e14aac35c5ce3e6754bbda01e2d113a7a9dfad4..73c36685cf970f5f8df90f1b4b0981aa80e8b408 100644
(file)
--- a/
Cura/util/machineCom.py
+++ b/
Cura/util/machineCom.py
@@
-231,9
+231,9
@@
class MachineCom(object):
return "?%d?" % (self._state)
def getShortErrorString(self):
- if len(self._errorValue) <
2
0:
+ if len(self._errorValue) <
3
0:
return self._errorValue
- return self._errorValue[:
2
0] + "..."
+ return self._errorValue[:
3
0] + "..."
def getErrorString(self):
return self._errorValue