fixed open database bug.
Merge branch 'master' of github.com:nihil0/WhiskyMetrics-Intelligence