wrong escape sequence
This commit is contained in:
parent
d6e277fac4
commit
5124cf1d23
|
@ -199,7 +199,7 @@ class Status:
|
|||
print(COLOR_MUCH + 'Bitte einloggen.' + COLOR_RESET)
|
||||
print()
|
||||
print('Scanne dazu deine ID-Karte mit dem Barcode-Leser.')
|
||||
print_display("\e\x0cAnmeldung: Bitte ID-Karte scannen...")
|
||||
print_display("\x0cAnmeldung: Bitte ID-Karte scannen\x0b")
|
||||
print()
|
||||
|
||||
def logged_in(self):
|
||||
|
@ -224,7 +224,7 @@ class Status:
|
|||
try:
|
||||
command.run(self.login_name)
|
||||
except urllib2.HTTPError as e:
|
||||
print_display('\e\x0cFEHLER: Server Error%20s' % str(e)[:20])
|
||||
print_display('\x0cFEHLER: Server Error%20s' % str(e)[:20])
|
||||
error_page('FEHLER bei Kommunikation mit Server "%s"' % str(e))
|
||||
break
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue