pull/20/head
quadrismegistus 4 years ago
parent a982903e6d
commit e5a9f9fdb4

@ -75,7 +75,7 @@
required: True
write_tab: False
multiline: False
helper_text_mode: "persistent"
helper_text_mode: "on_error"
color_mode: 'custom'
line_color_focus: rgb(*COLOR_TEXT)
line_color_normal: rgb(*COLOR_TEXT)
@ -95,7 +95,7 @@
required: True
write_tab: False
multiline: False
helper_text_mode: "persistent"
helper_text_mode: "on_error"
color_mode: 'custom'
line_color_focus: rgb(*COLOR_TEXT)
line_color_normal: rgb(*COLOR_TEXT)

@ -140,7 +140,8 @@ class HalfForgetfulStorage(IStorage):
def load(self):
self.log('loading pickle...')
with open(self.fn,'rb') as of:
return pickle.load(of)
res=pickle.load(of)
self.log(f'>> found {len(res)} keys in pickle...')
def __setitem__(self, key, value):
self.set(key,value)

Loading…
Cancel
Save