From 9cf6ec0727344bc3e86acc96b4a751a54f9de302 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 22 Mar 2020 23:47:21 +0100 Subject: [PATCH] fix early access of webbrowser module internal, leading to AttributeError See also: https://bugs.archlinux.org/task/63703 --- solfege/mainwin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/solfege/mainwin.py b/solfege/mainwin.py index c058976..a384d57 100644 --- a/solfege/mainwin.py +++ b/solfege/mainwin.py @@ -25,6 +25,7 @@ import textwrap # debian etch system, the browser does will freeze solfege until # I close the browser window. try: + webbrowser.register_standard_browsers() i = webbrowser._tryorder.index("x-www-browser") webbrowser._tryorder.append(webbrowser._tryorder[i]) del webbrowser._tryorder[i] -- 2.25.2