Fix init database condition

pull/25/head
Jan-Lukas Else 3 weeks ago
parent e46d4b1155
commit f7c135cac2
  1. 2
      database.go

@ -31,7 +31,7 @@ type database struct {
}
func (a *goBlog) initDatabase(logging bool) (err error) {
if a.db != nil {
if a.db != nil && a.db.db != nil {
return
}
if logging {

Loading…
Cancel
Save