Skip to content

Commit

Permalink
Fix icon listing
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Oct 14, 2023
1 parent ef94295 commit d20d278
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions custom_components/fontawesome/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/fontawesome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"documentation": "https://github.com/thomasloven/hass-fontawesome",
"iot_class": "local_polling",
"requirements": [],
"version": "2.2.0"
"version": "2.2.1"
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fontawesome",
"private": true,
"version": "2.2.0",
"version": "2.2.1",
"description": "",
"scripts": {
"export": "./export.sh",
Expand Down

0 comments on commit d20d278

Please sign in to comment.