From 0f2816dec672ad0d693b9fbc7ec5b1487f0f6964 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Sat, 19 Sep 2020 10:31:14 -0600 Subject: [PATCH] Fix error with logging of mock data --- Pipfile.lock | 2 -- sublime/adapters/subsonic/adapter.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index a777762..599743d 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -354,7 +354,6 @@ "version": "==0.6.0" }, "urllib3": { - "extras": [], "hashes": [ "sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a", "sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461" @@ -976,7 +975,6 @@ "version": "==3.7.4.3" }, "urllib3": { - "extras": [], "hashes": [ "sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a", "sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461" diff --git a/sublime/adapters/subsonic/adapter.py b/sublime/adapters/subsonic/adapter.py index 7183053..5ab3ae7 100644 --- a/sublime/adapters/subsonic/adapter.py +++ b/sublime/adapters/subsonic/adapter.py @@ -469,10 +469,10 @@ class SubsonicAdapter(Adapter): raise data if hasattr(data, "__next__"): if d := next(data): - logging.info("MOCK DATA", d) + logging.info("MOCK DATA %s", d) return MockResult(d) - logging.info("MOCK DATA", data) + logging.info("MOCK DATA %s", data) return MockResult(data) self._get_mock_data = get_mock_data