diff --git a/custom_components/fontawesome/__init__.py b/custom_components/fontawesome/__init__.py index d779be1..5e6c375 100644 --- a/custom_components/fontawesome/__init__.py +++ b/custom_components/fontawesome/__init__.py @@ -39,8 +39,8 @@ async def get(self, request): for (dirpath, dirnames, filenames) in walk(self.iconpath): icons.extend( [ - ({"name": path.join(dirpath[len(self.iconpath):], fn[:-4])} - for fn in filenames if fn.endswith(".svg")) + {"name": path.join(dirpath[len(self.iconpath):], fn[:-4])} + for fn in filenames if fn.endswith(".svg") ] ) return json.dumps(icons) diff --git a/custom_components/fontawesome/manifest.json b/custom_components/fontawesome/manifest.json index 590f836..20f0735 100644 --- a/custom_components/fontawesome/manifest.json +++ b/custom_components/fontawesome/manifest.json @@ -7,5 +7,5 @@ "documentation": "https://github.com/thomasloven/hass-fontawesome", "iot_class": "local_polling", "requirements": [], - "version": "2.2.0" + "version": "2.2.1" } diff --git a/package-lock.json b/package-lock.json index aba8357..a1afcbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fontawesome", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 206bec7..a7dbda8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fontawesome", "private": true, - "version": "2.2.0", + "version": "2.2.1", "description": "", "scripts": { "export": "./export.sh",