Compare commits
2 Commits
696ea89530
...
6fc00ba3dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
6fc00ba3dd
|
|||
|
93b29a5346
|
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2019, Přemysl Janouch <p@janouch.name>
|
||||
Copyright (c) 2019, Přemysl Eric Janouch <p@janouch.name>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -298,6 +298,7 @@ func loadDatabase() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer dbFile.Close()
|
||||
if err := json.NewDecoder(dbFile).Decode(&db); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user