sirupsen/anki-airtable

New cards incorrectly added to 'Default' deck

ryenbeatty opened this issue · 0 comments

Hi there, I am having an issue getting synced cards into the correct deck. No matter how I configure things, new cards get added to the Default deck in Anki.

I am using a new model that has a card layout configured, but has no pre-existing cards created.

I debugged the code which sets the current deck airtableImport, line 157 __init__.py, and everything looks correct, so I'm a little stumped on this one.

I realise this is a side project, so I'm mainly looking for a point in the right direction that might allow me to solve this :)

image

{
    "key": "",
    "media_path": "/Users/your_username/Library/Application Support/Anki2/User 1/collection.media/{}",
    "tables": [
        {
            "airtable_key": "",
            "airtable_table": "Wortschatz",
            "airtable_view": "Grid",
            "anki_deck": "🇩🇪 deutsch::Wortschatz",
            "anki_model": "Wort"
        }
    ]
}```