nir0s/ghost

Missing storages' db_path attribute requirement

Coder-DG opened this issue · 3 comments

At ghost.py line 298 Stash is trying to access the storage's db_path attribute. Since there's no demand that that attribute should reside in the storage, the program crashes due to an AttributeError.

nir0s commented

I don't quite understand what it means that there's no requirement. Every storage must implement a constructor which receives db_path. Yes, it's not "documented", but the tests will fail if you don't provide such an attribute.

nir0s commented

That would be great.