Skip to content

Commit

Permalink
tui: cast to str
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jan 16, 2025
1 parent ffb2c43 commit dee12ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresvip/tui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ async def handle_change_output_directory(self, event: Button.Pressed) -> None:
SelectDirectory("/", title=_("Select directory")),
):
settings.save_folder = pathlib.Path(directory)
self.query_one("#output_directory").update(directory)
self.query_one("#output_directory").update(str(directory))

@on(SelectionList.SelectedChanged)
def handle_plugins_changed(self, selected: SelectionList.SelectedChanged) -> None:
Expand Down

0 comments on commit dee12ef

Please sign in to comment.