encrypt save support, smileys fix, bug fixes
This commit is contained in:
parent
dd53c6a842
commit
42aa102d1d
9 changed files with 18 additions and 13 deletions
|
|
@ -45,7 +45,7 @@ class History(object):
|
|||
path = settings.ProfileHelper.get_path() + self._name + '.hstr'
|
||||
with open(path, 'rb') as fin:
|
||||
data = fin.read()
|
||||
data = encr.pass_encrypt(data)
|
||||
data = encr.pass_encrypt(bytes(data))
|
||||
with open(path, 'wb') as fout:
|
||||
fout.write(data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue