Update database.py
Update database.py

Removed opening of db in def save to reduce io calls with fast models
thouska/spotpy,bees4ever/spotpy,thouska/spotpy,bees4ever/spotpy,bees4ever/spotpy,thouska/spotpy