Fix no update condition
This commit is contained in:
parent
94b8dfb6b9
commit
de1b7e15b2
|
@ -201,7 +201,7 @@ func UpdateScryfallData(db *sql.DB) {
|
||||||
needsUpdate, err := checkScryfallUpdates(db, bulkData)
|
needsUpdate, err := checkScryfallUpdates(db, bulkData)
|
||||||
logic.Check(err)
|
logic.Check(err)
|
||||||
|
|
||||||
if needsUpdate {
|
if !needsUpdate {
|
||||||
scryfallLog("No update required.")
|
scryfallLog("No update required.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue