forked from MarseyWorld/MarseyWorld
increase filter_emojis_only timeout to 2 seconds
parent
95d82073f3
commit
013dfce0ca
|
@ -639,7 +639,7 @@ def allowed_attributes_emojis(tag, name, value):
|
|||
return False
|
||||
|
||||
|
||||
@with_sigalrm_timeout(1)
|
||||
@with_sigalrm_timeout(2)
|
||||
def filter_emojis_only(title, golden=True, count_emojis=False, graceful=False):
|
||||
|
||||
title = title.replace("\n", "").replace("\r", "").replace("\t", "").replace('<','<').replace('>','>')
|
||||
|
|
Loading…
Reference in New Issue