Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rkw committed Jul 13, 2024
1 parent 954949b commit 55beca4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions monzo_utils/lib/monzo_payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ def __init__(self, account_name, output_json=False, abbreviate=False):
sys.stderr.write(f"account {self.account_name} not found in the database\n")
sys.exit(1)

# homedir = pwd.getpwuid(os.getuid()).pw_dir
# self.credit_tracker = f"{homedir}/.monzo/{self.config['account']}.credit"
# self.credit_notify_tracker = f"{homedir}/.monzo/{self.config['account']}.credit_notify"
# self.shortfall_tracker = f"{homedir}/.monzo/{self.config['account']}.shortfall"
# self.shortfall_notify_tracker = f"{homedir}/.monzo/{self.config['account']}.shortfall_notify"


def get_db(self):
try:
Expand Down Expand Up @@ -187,7 +181,6 @@ def main(self):
pot = self.account

shortfall = (self.due - (round(pot.balance * 100))) / 100
shortfall = 10

if self.json:
data = {
Expand Down

0 comments on commit 55beca4

Please sign in to comment.