Skip to content

Commit

Permalink
utils/viewer: fix missing URI conversion when replacing file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mbouron committed Sep 28, 2023
1 parent fa11f44 commit f10d191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pynopegl-utils/pynopegl_utils/viewer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def _test_settings(self):
f"`{filepath.name}` becomes `{new_filename}`."
)
filepath = filepath.parent / new_filename
self._window.set_export_file(filepath.as_posix())
filepath = QUrl.fromLocalFile(filepath.as_posix()).url()
self._window.set_export_file(filepath)

# Check GIF framerate compatibility
self._window.hide_export_warning()
Expand Down

0 comments on commit f10d191

Please sign in to comment.