Skip to content

Commit

Permalink
[font_loader] Remove duplicate Path
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Oct 3, 2024
1 parent e117c16 commit aad2579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font_collector/font/font_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def is_file_font(file_name: Path) -> bool:
for root, dirs, files in os.walk(font_path):
for name in files:
file_path = Path(os.path.join(root, name))
if is_file_font(Path(file_path)):
if is_file_font(file_path):
try:
additional_fonts.append(FontFile.from_font_path(file_path))
except InvalidFontException as e:
Expand Down

0 comments on commit aad2579

Please sign in to comment.