From 7b7f186e471ea313ced5688f08b4472467d2de8e Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Sun, 14 Nov 2021 11:44:51 +0100 Subject: [PATCH] ops --- specials/globalsearch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index a895ad9b..5c24d1ba 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -125,7 +125,8 @@ class SearchWindow(xbmcgui.WindowXML): if self.item.mode == 'all': save_search(self.item.text) else: - del self.item.context # needed for preventing same content twice in saved search + if self.item.context: + del self.item.context # needed for preventing same content twice in saved search save_search(self.item.__dict__) def getActionsThread(self):