various fixes. profile settings and add account fixes
This commit is contained in:
parent
729bd84d2b
commit
25dbb85ef0
8 changed files with 109 additions and 92 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue