From c54f39fc77b9e3de633e53aefc8a939a64c809e7 Mon Sep 17 00:00:00 2001 From: UpstreamData Date: Wed, 16 Nov 2022 14:30:29 -0700 Subject: [PATCH] bug: fix int and str addition in graphQL. --- pyasic/miners/_backends/bosminer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyasic/miners/_backends/bosminer.py b/pyasic/miners/_backends/bosminer.py index cca7d10d..c960ab26 100644 --- a/pyasic/miners/_backends/bosminer.py +++ b/pyasic/miners/_backends/bosminer.py @@ -660,7 +660,7 @@ class BOSMiner(BaseMiner): except (TypeError, KeyError, ValueError, IndexError): pass if groups[0]["strategy"].get("quota"): - data.quota = groups[0]["strategy"]["quota"] + "/" + groups[1]["strategy"]["quota"] + data.quota = str(groups[0]["strategy"]["quota"]) + "/" + str(groups[1]["strategy"]["quota"]) data.fault_light = await self.check_light()