fix roulette

master
Aevann 2023-02-08 04:34:44 +02:00
parent 4c87ace27c
commit 6ec1200611
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ def handle_youtube_links(url):
def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys=False, torture=False, snappy=False, chat=False, blackjack=None):
sanitized = sanitized.strip()
if blackjack and execute_blackjack(g.v, None, sanitized, blackjack):
if hasattr(g, 'v') and blackjack and execute_blackjack(g.v, None, sanitized, blackjack):
sanitized = 'g'
sanitized = utm_regex.sub('', sanitized)