various fixes. profile settings and add account fixes

This commit is contained in:
ingvar1995 2018-05-10 23:54:51 +03:00
parent 729bd84d2b
commit 25dbb85ef0
8 changed files with 109 additions and 92 deletions

View file

@ -28,6 +28,9 @@ class ProfileManager:
def get_dir(self):
return self._directory
def get_path(self):
return self._path
def save_profile(self, data):
if self._toxes.has_password():
data = self._toxes.pass_encrypt(data)