Update mnml-db.py

Cleaning up code.