forked from MarseyWorld/MarseyWorld
fds
parent
e1db64f34a
commit
4a5fd4b99c
|
@ -328,7 +328,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||||
|
|
||||||
if '#fortune' in sanitized:
|
if '#fortune' in sanitized:
|
||||||
sanitized = sanitized.replace('#fortune', '')
|
sanitized = sanitized.replace('#fortune', '')
|
||||||
sanitized += '\n\n<p>' + random.choice(FORTUNE_REPLIES) + '</p>'
|
sanitized += '\n\n<p>' + choice(FORTUNE_REPLIES) + '</p>'
|
||||||
|
|
||||||
signal.alarm(0)
|
signal.alarm(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue