Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gajim/common/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/common/helpers.py b/gajim/common/helpers.py
index 687f880df..09feab0a9 100644
--- a/gajim/common/helpers.py
+++ b/gajim/common/helpers.py
@@ -1108,7 +1108,7 @@ def open_file_uri(uri: str) -> None:
if sys.platform != 'win32':
Gio.AppInfo.launch_default_for_uri(uri)
else:
- os.startfile(uri) # noqa: S606
+ os.startfile(uri, 'open') # noqa: S606
except Exception as err:
log.info("Couldn't open file URI %s: %s", uri, err)