Update basedb.py

fixed casing