aboutsummaryrefslogtreecommitdiff
path: root/Account.py
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-11-02 17:26:29 -0500
committerChristian Cleberg <hello@cleberg.net>2024-11-02 17:26:29 -0500
commit5887e1eddd0eb3eb7fed517c72bb6671847c655c (patch)
treefbdb4a6e93c26ee700e2a6ecff454bfee43d878a /Account.py
parent598e71b5ea1392f25cca0290c5544ab1135c37a2 (diff)
downloadyoshi-cli-5887e1eddd0eb3eb7fed517c72bb6671847c655c.tar.gz
yoshi-cli-5887e1eddd0eb3eb7fed517c72bb6671847c655c.tar.bz2
yoshi-cli-5887e1eddd0eb3eb7fed517c72bb6671847c655c.zip
fix pylint errors
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: