Remove debug code
This commit is contained in:
parent
a7b8b66db3
commit
d21f1274a6
|
@ -136,7 +136,6 @@ func main() {
|
|||
check(err)
|
||||
log.Println("Created cache directories.")
|
||||
|
||||
/*
|
||||
log.Println("Downloading set data from Scryfall...")
|
||||
sets, err := methods.GetSets()
|
||||
check(err)
|
||||
|
@ -146,7 +145,6 @@ func main() {
|
|||
err = importSets(db, sets)
|
||||
check(err)
|
||||
log.Println("Imported sets.")
|
||||
*/
|
||||
|
||||
log.Println("Downloading bulk data entry...")
|
||||
allCardsBulkData, err := methods.GetBulkDataByType(types.BulkDataTypeAllCards)
|
||||
|
@ -163,7 +161,6 @@ func main() {
|
|||
|
||||
if updated {
|
||||
log.Printf("Bulk data has been updated since last cache, redownloading.")
|
||||
return
|
||||
err = cacheAllCardsFile(db, allCardsBulkData.DownloadUri, updatedAtTimestamp)
|
||||
check(err)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue