From f781663c56f21161df26f332150274d1d2c17030 Mon Sep 17 00:00:00 2001 From: kanishka-linux Date: Wed, 30 Aug 2017 16:16:50 +0530 Subject: [PATCH] check bookmark before deleting opt --- kawaii_player/kawaii_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kawaii_player/kawaii_player.py b/kawaii_player/kawaii_player.py index 6277e9f7..8ab8412c 100644 --- a/kawaii_player/kawaii_player.py +++ b/kawaii_player/kawaii_player.py @@ -5919,7 +5919,7 @@ def deleteHistory(self): write_files(file_path, lines, line_by_line=True) self.list1.takeItem(row) del item - elif opt == "History": + elif opt == "History" and not bookmark: file_path = '' if site == "SubbedAnime" or site == "DubbedAnime": if os.path.exists(os.path.join(home, 'History', site, siteName, 'history.txt')):