fixed comparison

This commit is contained in:
rich committed 2020-04-13 17:18:52 -04:00
1 parent 5235df2259
commit 32144c5657
1 file changed
+1 -1
+1 -1
View File
@@ -802,7 +802,7 @@ async def get_stp_status(service):
for spservice in spservice_array.json():
# using lower() to eliminate any case mismatch problems
if spservice['name'].lower() == service:
if spservice['name'].lower() == service.lower():
found = True
return spservice