Remove debug code

This commit is contained in:
The Magician 2024-05-21 15:27:36 +01:00
parent a7b8b66db3
commit d21f1274a6
1 changed files with 8 additions and 11 deletions

View File

@ -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 {