From 698cad4d8622fc73ca81dbb4c90fde43a3442a96 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Sun, 5 Apr 2026 19:24:04 +0200 Subject: [PATCH] Fix python 3.14 compatibility of settings helpers This commit replaces a deprecated method call, which is removed by python 3.14. --- plugins/settings/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/settings/__init__.py b/plugins/settings/__init__.py index 0d2d5fc7..9ff94063 100644 --- a/plugins/settings/__init__.py +++ b/plugins/settings/__init__.py @@ -1,4 +1,4 @@ -import html.parser +import html import logging import os @@ -221,7 +221,7 @@ def show_popup_for(self, key_region): def on_navigate(self, href): """Popup navigation event handler.""" command, _, argument = href.partition(":") - argument = html.parser.HTMLParser().unescape(argument) + argument = html.unescape(argument) if command == 'edit': view_id = self.view.settings().get('edit_settings_other_view_id')