From 74e20f8f43f5b51e63e820d540c3b470297b2fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 8 Nov 2022 22:58:47 +0200 Subject: [PATCH] Fix bug-report subcommand on linux --- plextraktsync/util/openurl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plextraktsync/util/openurl.py b/plextraktsync/util/openurl.py index f8b1eb66fd..f1ae4ebd92 100644 --- a/plextraktsync/util/openurl.py +++ b/plextraktsync/util/openurl.py @@ -11,7 +11,7 @@ def openurl(url: str): 'darwin': 'open', 'win32': 'start', }[sys.platform] - except IndexError: + except KeyError: opener = 'xdg-open' try: