We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4430e8d commit a2beed3Copy full SHA for a2beed3
connect/config.py
@@ -92,7 +92,7 @@ def load_from_file(self, file):
92
configs.get('apiKey', '').encode('utf-8'),
93
configs.get('products'))
94
95
- products = products.encode('utf-8') if not isinstance(products, list) else products
+ products = products.encode('utf-8') if not isinstance(products, (str, list)) else products
96
97
self.check_credentials(api_url, api_key, products)
98
self._set_attr(api_url, api_key, products)
0 commit comments