fix repair string

This commit is contained in:
Karol Wypchlo 2021-04-14 12:17:01 +02:00
parent f48a8d9302
commit 1c99da3af8
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ async def check_alerts():
for line in siac_renter_output.split("\n"): for line in siac_renter_output.split("\n"):
# Check for the type of alert # Check for the type of alert
if contains_string(line, repair_str): if contains_string(line, repair_str):
repair_remaining = line.split()[1] repair_remaining = line.split(":")[1].strip()
################################################################################ ################################################################################
# create a message # create a message