Closed Bandit253 closed 9 months ago
Hi,
I think the error message is a bit misleading. The problem is that there is no instance of your translation class, as such translation_object
is a class in stead of an object.
Try changing translation_object = InitialMatch
into translation_object = InitialMatch()
.
Thanks so much, such a noob mistake.
When I try my translation file I get
TypeError: TranslationBase.filter_layer() missing 1 required positional argument: 'layer'
but it works without error when I use the base class, I have tried to copy the base class def of filter_layer to mine and still fails.
the above code is pretty much exactly the example.
This is my Translation file