acn/rtx
acn
/
rtx
1
0
Fork 0

small bug found

This commit is contained in:
acn 2016-06-09 13:26:39 +02:00
parent 488e3dae34
commit c206e26586
1 changed files with 2 additions and 2 deletions

View File

@ -101,11 +101,11 @@ def process_command(cmd):
# check if the next page exists, e.g. 2000a => 2000b
curid = glob.curpage.get_page_id()
if curid == -1:
send_error("Keine n"+cept['UMLAUT']+"achste Seite gefunden.")
send_error("Keine n"+ cept.UMLAUT +"achste Seite gefunden.")
if str(curid[-1:]).isalpha():
# aus 2000a 2000b machen:
nextid = curid[:-1] + chr(ord(curid[-1:])+1)
check_and_send_page(nextid, "Keine n"+cept['UMLAUT']+"achste Seite gefunden.")
check_and_send_page(nextid, "Keine n" + cept.UMLAUT +"achste Seite gefunden.")
# special commands:
if cmd == "!1" + cept.TER: