Small fixup in python wrapper

This commit is contained in:
Joakim Hove 2021-11-16 18:37:59 +01:00
parent fe24c0717c
commit bef5f5b9f4

View File

@ -32,7 +32,7 @@ namespace {
}
const DeckKeyword& getKeyword_int( const Deck& deck, size_t index ) {
return deck.getKeyword(index);
return deck[index];
}
//This adds a keyword by copy