Skip to content

Commit

Permalink
check bookmark before deleting opt
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishka-linux committed Aug 30, 2017
1 parent bc63a0c commit f781663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kawaii_player/kawaii_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')):
Expand Down

0 comments on commit f781663

Please sign in to comment.