fix für schlüsselwortfeld

This commit is contained in:
2025-07-29 19:41:35 +02:00
parent e3ed8c7428
commit 79ea033bb6
3 changed files with 9 additions and 8 deletions

View File

@@ -2003,7 +2003,7 @@ def polybios_decode(eingabetext, pw):
def klopfcode_encode(eingabetext):
text = eingabetext.rstrip()
if text == "":
return hilfetexte.polybios_encode
return hilfetexte.klopfcode_encode
else:
qz5 = [11, 12, 13, 14, 15, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 41, 42, 43, 44, 45, 51, 52, 53, 54, 55]
alpha = "ABCDEFGHIJLMNOPQRSTUVWXYZ" # k wird durch c ersetzt
@@ -2026,7 +2026,7 @@ def klopfcode_encode(eingabetext):
def klopfcode_decode(eingabetext):
text = eingabetext.rstrip()
if text == "":
return hilfetexte.polybios_decode
return hilfetexte.klopfcode_decode
else:
qz5 = [11, 12, 14, 15, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 41, 42, 43, 44, 45, 51, 52, 53, 54, 55]
alpha = "ABDEFGHIJLMNOPQRSTUVWXYZ" # k wird durch c ersetzt