Update and consolidate to-do list

This commit is contained in:
b committed 2020-09-27 22:32:01 -06:00
1 parent 591d81ff13
commit 0ff6402c34
3 files changed
+28 -13

No files matched your search

-2
View File
@@ -22,8 +22,6 @@ type Store struct {
}
func NewStore(filename string, genString GenString) (*Store, error) {
// TODO This stat needs to change, though I can't remember how, now that
// SQLite has been updated.
var needCreate bool
if _, err := os.Stat(filename); os.IsNotExist(err) {
needCreate = true