Add categories extracting.

Make icon names more human-readable as well.
This commit is contained in:
Sergey Vartanov 2021-11-13 08:23:14 +03:00
parent 479983558e
commit fc8f9e1f9e
2 changed files with 45 additions and 4 deletions

View file

@ -141,7 +141,7 @@ class IconCollection:
def get_file_name(x: Icon) -> str:
"""Generate human-readable file name."""
return f"Röntgen {' + '.join(x.get_names())}.svg"
return f"Röntgen {x.get_name()}.svg"
else: