Skip to content
Snippets Groups Projects
Commit ad270564 authored by David Trattnig's avatar David Trattnig
Browse files

Cleanup.

parent edeb8902
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,8 @@ class Monitoring:
Retrieves all input and outputs provided by the engine.
"""
ios = self.soundsystem.engine_state()
# ios = ios.replace("\\", "")
try:
# ios = ios.replace(": },", "''},")
ios = ios.replace('"connected":', '"connected": ""')
ios = json.loads(ios, strict=False)
return ios
......@@ -163,6 +162,7 @@ class Monitoring:
return status
def get_url_response(self, url):
"""
Fetches JSON data from the given URL.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment