From acaa41e511c3ce026a9123fe494bd017cbfb99db Mon Sep 17 00:00:00 2001
From: Angelo Naselli <anaselli@linux.it>
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 954b6d6..2c9d5c2 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 aa3763c..1d0bd35 100644
--- a/dnfdragora/updater.py
+++ b/dnfdragora/updater.py
@@ -94,6 +94,8 @@ class Updater:
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('/'):
--
2.28.0