make python version of WDBS actually work

Fixes Issue 4283