From acaa41e511c3ce026a9123fe494bd017cbfb99db Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 6 Oct 2020 21:21:02 +0200 Subject: [PATCH] Fix issue #168 --- Changes | 1 + dnfdragora/updater.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changes b/Changes index 954b6d65..2c9d5c24 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ 2020-XX-YY v. 2.1.t --------------------- +- Fix issue #168 - Managed line feed into descriptions see https://bugs.mageia.org/show_bug.cgi?id=27274 - Added an user preference to consider upgrades as updates (issue #163) diff --git a/dnfdragora/updater.py b/dnfdragora/updater.py index aa3763c4..1d0bd35d 100644 --- a/dnfdragora/updater.py +++ b/dnfdragora/updater.py @@ -94,6 +94,8 @@ def __init__(self, options={}): logger.error("Cannot open theme icon using default one %s"%(icon_path)) self.__icon = Image.open(icon_path) + # resetting icon_path to default value + icon_path = '/usr/share/dnfdragora/images/' if 'icon-path' in options.keys() : icon_path = options['icon-path'] if icon_path.endswith('/'):