redruin1/factorio-draftsman

"'Blueprint' object has no attribute '_area'" error when following quickstart

redruin1 opened this issue · 1 comments

I forgot to move the initialization for the area attribute before loading the entities in the Blueprint. Dumb mistake; this will be fixed in version 0.9.5.

Also added a __contains__ method to Blueprint so that you can test for key membership; I thought this was handled with __getitem__ (and it kinda is) but now this feature works properly. This is also added to the test suite.