NO FUCKING FALLBACKS GOD DAMN YOU
This commit is contained in:
@@ -25,9 +25,6 @@ type Database struct {
|
||||
func NewDatabase() (*Database, error) {
|
||||
// Get database path from options
|
||||
dbPath := options.GlobalOptions.DBPath
|
||||
if dbPath == "" {
|
||||
dbPath = "eve-pi.db"
|
||||
}
|
||||
|
||||
// Ensure directory exists
|
||||
dir := filepath.Dir(dbPath)
|
||||
|
||||
Reference in New Issue
Block a user