This commit is contained in:
parent
2c5f850c3a
commit
c90ca948c4
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ func setCriteria(criteria []*Criterion) (err error) {
|
|||
}
|
||||
|
||||
func getCriteria() (ret []*Criterion, err error) {
|
||||
ret = []*Criterion{}
|
||||
dataPath := filepath.Join(util.DataDir, "storage/criteria.json")
|
||||
if !gulu.File.IsExist(dataPath) {
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue