Blob Blame History Raw
From 3a16b63d1ebde9e31d7ffe48d17dfa1e7820e45b 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

---
 dnfdragora/updater.py | 2 ++
 1 file changed, 2 insertions(+)

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