Skip to content

Category name with slash #30

Description

@AleTopp

Since in FF there is no way to create subcategories, I use the slash symbol to define them (like Home/Groceries).
This prevents me from writing a comment that could be interpreted correctly by the script, since it will break only by slashes (https://github.com/adyanth/splitwise-firefly-sync/blob/main/main.py#L159C5-L159C28).

My comment was:

Firefly/Supermarket/Home/Groceries/Some comment/Debit card

And it failed with error:

  File "/app/main.py", line 458, in cached
    raise ValueError(f"Account {account_name} not found in asset accounts.")
ValueError: Account Some comment not found in asset accounts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions