mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
check for bookmark first
This commit is contained in:
parent
7e748a1306
commit
cd74538adf
1 changed files with 7 additions and 6 deletions
|
@ -108,6 +108,7 @@ class BookmarkManager:
|
|||
else:
|
||||
path = os.path.join(common.CONFIG_DIR, "mozilla", "bookmarks.save")
|
||||
|
||||
if os.path.exists(path):
|
||||
try:
|
||||
bookmark_file = open(path, "rb")
|
||||
bookmarks = cPickle.load(bookmark_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue