Doorlock.py: make eperm_insults a list

choose_insult fails with a dict, so make it a list.

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2023-11-04 22:28:06 +01:00
parent 1c403437b3
commit 96fc3ba973
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ from .Protocol import Protocol
log = logging.getLogger()
# copied from sudo
eperm_insults = {
eperm_insults = [
'Wrong! You cheating scum!',
'And you call yourself a Rocket Scientist!',
'No soap, honkie-lips.',
@ -50,7 +50,7 @@ eperm_insults = {
'I\'ve seen penguins that can type better than that.',
'Have you considered trying to match wits with a rutabaga?',
'You speak an infinite deal of nothing',
}
]
def choose_insult():