fixed call
This commit is contained in:
1 parent
e1327961b6
commit
0544d870e7
1 file changed
+1
-1
+1
-1
@@ -703,7 +703,7 @@ async def StatPing_Monitor():
|
||||
for service in spsublist.keys():
|
||||
# service used to be subscription
|
||||
status = await get_stp_status(service)
|
||||
print(f"{service} Online: {status['online']} | Previous state of 'online': {spsublist[service]['online']}")
|
||||
print(f"{service} Online: {status['online']} | Previous state of 'online': {spsublist[service]['state']}")
|
||||
if status != 'status not found':
|
||||
if status['online'] and spsublist[service]['state'] == 'online':
|
||||
|
||||
|
||||
Reference in new issue
Block a user