Skip to content

Commit 3b08221

Browse files
committed
Cleaned up truncation even more
1 parent aec1c2f commit 3b08221

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

CircuitPython_Pyloton/pyloton.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,8 @@ def _status_update(self, message):
189189
return
190190
if self.text_group not in self.loading_group:
191191
self.loading_group.append(self.text_group)
192-
if len(message) > 25:
193-
self.status.text = message[:25]
194-
self.status1.text = message[25:50]
195-
else:
196-
self.status.text = message
197-
self.status1.text = ''
192+
self.status.text = message[:25]
193+
self.status1.text = message[25:50]
198194

199195

200196
def timeout(self):

0 commit comments

Comments
 (0)