Got things to a good state that can be built off of

This commit is contained in:
Sumner Evans
2020-04-17 20:33:41 -06:00
parent 0cfe31283d
commit fdb02a7e76
13 changed files with 258 additions and 55 deletions

View File

@@ -148,8 +148,7 @@ class Server:
)
raise Exception(f'Subsonic API Error #{code}: {message}')
print(subsonic_response)
response = Response.from_dict(subsonic_response)
response = Response.from_json(subsonic_response)
# Check for an error and if it exists, raise it.
if response.error: