dropdown menu, smileys window

This commit is contained in:
ingvar1995
2016-06-14 21:47:03 +03:00
parent 7e63d9634a
commit 53a381222f
6 changed files with 200 additions and 34 deletions

View File

@ -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)