Philipp Hörist pushed to branch master at gajim / gajim


Commits:
47dc5e2b by mesonium at 2025-10-09T21:09:23+00:00
fix: Do not fail to open file with relative paths

- - - - -


1 changed file:

- gajim/common/util/uri.py


Changes:

=====================================
gajim/common/util/uri.py
=====================================
@@ -238,7 +238,8 @@ def open_file(path: Path) -> None:
         log.warning('Unable to open file, path %s does not exist', path)
         return
 
-    open_file_uri(path.as_uri())
+    path_absolute = path.resolve()
+    open_file_uri(path_absolute.as_uri())
 
 
 def open_directory(path: Path) -> None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/47dc5e2b61efb091d3abd7fe26154b6bf372cff1

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/47dc5e2b61efb091d3abd7fe26154b6bf372cff1
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to