fix store flag

This commit is contained in:
2020-05-30 15:41:50 -04:00
parent a25b5072a4
commit 46081a8355
2 changed files with 12 additions and 9 deletions

View File

@@ -144,11 +144,14 @@ func trimUrl(link string) string {
return link
}
var StoreData = Conf.Store != ""
var DataPath = Conf.Store
var StoreData bool
var DataPath string
var Pattern = "imhash.*"
func Main() error {
StoreData = Conf.Store != ""
DataPath = Conf.Store
queue := make(chan []string)
for i := 0; i < Conf.HasherConcurrency; i++ {