Skip to content

Commit

Permalink
Merge pull request #22 from Sha-yol/bugfix-SW-default-cat
Browse files Browse the repository at this point in the history
Bugfix: Behavior when no FIREFLY_DEFAULT_CATEGORY is supplied in .env file
  • Loading branch information
adyanth authored Nov 10, 2024
2 parents c32803d + 7a82bb8 commit 38880fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def load_config() -> Config:
"SPLITWISE_TOKEN": os.getenv("SPLITWISE_TOKEN"),
"FIREFLY_URL": os.getenv("FIREFLY_URL", "http://firefly:8080"),
"FIREFLY_TOKEN": os.getenv("FIREFLY_TOKEN"),
"FIREFLY_DEFAULT_CATEGORY": os.getenv("FIREFLY_DEFAULT_CATEGORY", "Uncategorized"),
"FIREFLY_DEFAULT_CATEGORY": os.getenv("FIREFLY_DEFAULT_CATEGORY"),
"FIREFLY_DEFAULT_SPEND_ACCOUNT": os.getenv("FIREFLY_DEFAULT_SPEND_ACCOUNT", "Amex"),
"FIREFLY_DEFAULT_TRXFR_ACCOUNT": os.getenv("FIREFLY_DEFAULT_TRXFR_ACCOUNT", "Chase Checking"),
"FIREFLY_DRY_RUN": bool(os.getenv("FIREFLY_DRY_RUN", True)),
Expand Down

2 comments on commit 38880fe

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
main.py2035771%93, 97, 104, 108, 112, 127, 137, 149, 175–178, 232–233, 235–236, 238–239, 242–245, 247–248, 250, 253, 255–258, 260–261, 271, 276–279, 281–282, 301, 303, 340, 377–380, 416, 420, 423, 425, 427–430, 432–433, 435
TOTAL2035771% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 0.601s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
main.py2035771%93, 97, 104, 108, 112, 127, 137, 149, 175–178, 232–233, 235–236, 238–239, 242–245, 247–248, 250, 253, 255–258, 260–261, 271, 276–279, 281–282, 301, 303, 340, 377–380, 416, 420, 423, 425, 427–430, 432–433, 435
TOTAL2035771% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 2.154s ⏱️

Please sign in to comment.