mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix clearing of annot_id_uuid_map
This commit is contained in:
parent
2774379f06
commit
1e33d28d3e
@ -117,8 +117,8 @@ annot_id_uuid_map = {}
|
|||||||
|
|
||||||
|
|
||||||
def clear_annot_id_uuid_map():
|
def clear_annot_id_uuid_map():
|
||||||
nonlocal annot_id_uuid_map
|
for key in Object.keys(annot_id_uuid_map):
|
||||||
annot_id_uuid_map = {}
|
v'delete annot_id_uuid_map[key]'
|
||||||
|
|
||||||
|
|
||||||
def is_dark_theme(set_val):
|
def is_dark_theme(set_val):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user