mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-07-20 01:23:09 -05:00
Pass set name to fullspoil for automatic URL creation
This commit is contained in:
parent
fe96df161d
commit
c32b280391
2
main.py
2
main.py
|
|
@ -106,7 +106,7 @@ if __name__ == '__main__':
|
|||
if presets['scryfallComparison']:
|
||||
mtgjson = spoilers.smash_mtgs_scryfall(mtgs, scryfall)
|
||||
if 'fullSpoil' in setinfo and setinfo['fullSpoil']:
|
||||
wotc = spoilers.scrape_fullspoil()
|
||||
wotc = spoilers.scrape_fullspoil('', setinfo)
|
||||
spoilers.smash_fullspoil(mtgjson, wotc)
|
||||
[mtgjson, errors] = spoilers.error_check(mtgjson, card_corrections) #check for errors where possible
|
||||
errorlog += errors
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user