dropdown menu, smileys window
This commit is contained in:
parent
7e63d9634a
commit
53a381222f
6 changed files with 200 additions and 34 deletions
|
@ -54,6 +54,9 @@ class History(object):
|
|||
new_path = directory + self._name + '.hstr'
|
||||
with open(path, 'rb') as fin:
|
||||
data = fin.read()
|
||||
encr = LibToxEncryptSave.get_instance()
|
||||
if encr.has_password():
|
||||
data = encr.pass_encrypt(data)
|
||||
with open(new_path, 'wb') as fout:
|
||||
fout.write(data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue