fix repair string
This commit is contained in:
parent
f48a8d9302
commit
1c99da3af8
|
@ -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
|
||||||
|
|
Reference in New Issue