фикс
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2024-01-22 03:26:08 +10:00
parent c734044b71
commit e677591b97

View File

@ -7,9 +7,9 @@ def ChangeWord(result): #выбирает рандомное слово для
with open("dicktxt/dick_changes.yaml", 'r') as f: with open("dicktxt/dick_changes.yaml", 'r') as f:
words = yaml.load(f, Loader=yaml.Loader) words = yaml.load(f, Loader=yaml.Loader)
dick_inc = ( f'<b>{w}</b>' for w in words['increment'] ) dick_inc = [ f'<b>{w}</b>' for w in words['increment'] ]
dick_static = ( f'<b>{w}</b>' for w in words['nothing'] ) dick_static = [ f'<b>{w}</b>' for w in words['nothing'] ]
dick_decr = ( f'<b>{w}</b>' for w in words['decrement'] ) dick_decr = [ f'<b>{w}</b>' for w in words['decrement'] ]
if result > 0: if result > 0:
size_change = random.choice(dick_inc) + '🚀' size_change = random.choice(dick_inc) + '🚀'