Skip to content

Commit 532aaf1

Browse files
committed
bugfix
1 parent e254894 commit 532aaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytonctrl/mytonctrl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def PrintLocalStatus(local, adnlAddr, validatorIndex, validatorEfficiency, valid
724724
if config15:
725725
t = config15["validatorsElectedFor"] * 2
726726
if validator_status.out_of_ser * 5 > t:
727-
validator_out_of_ser_text = local.translate("local_status_validator_out_of_ser").format(f'{{redc}}{validator_status.out_of_ser} blocks ago{{endc}}')
727+
validator_out_of_ser_text = color_text(local.translate("local_status_validator_out_of_ser").format(f'{{red}}{validator_status.out_of_ser} blocks ago{{endc}}'))
728728

729729
dbSize_text = GetColorInt(dbSize, 1000, logic="less", ending=" Gb")
730730
dbUsage_text = GetColorInt(dbUsage, 80, logic="less", ending="%")

0 commit comments

Comments
 (0)