aboutsummaryrefslogtreecommitdiff
path: root/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'Account.py')
-rw-r--r--Account.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Account.py b/Account.py
index 4e33518..8920b13 100644
--- a/Account.py
+++ b/Account.py
@@ -13,6 +13,7 @@ class Account:
def __init__(self, uuid: str, application: str, username: str,
password: str, url: str) -> None:
+ self.self = self
self.uuid = uuid
self.application = application
self.username = username
@@ -29,7 +30,7 @@ class Account:
def save_account(self) -> None:
"""Save the account details to the database."""
- database.create_account(
+ database.add_account(
self.uuid, self.application, self.username, self.password, self.url)
def delete_account(self) -> bool: