do not execute stuff when importing
This commit is contained in:
parent
b2ab5be3d9
commit
07d95e99f5
1 changed files with 7 additions and 0 deletions
|
@ -203,3 +203,10 @@ def link(game_json: dict) -> str:
|
|||
compressed = compressJSONGame(game_json)
|
||||
return "https://hanab.live/replay-json/{}".format(compressed)
|
||||
|
||||
if __name__ == "__main__":
|
||||
deck_str = "15shareutrkcydvpxxudafpwcpmnkiuijnbhfmowbfaqggqklvsl"
|
||||
deck_str = "15mfqsfrjfeixvhkhtaplakrcpnxlwdyqnwsmovdagkgpiuubcub"
|
||||
deck_str = "15utfaladkwvgrsdwfpqrkouvxiaismnujcxpmgpqckyfelnhhbb"
|
||||
deck_str = "15vxsmoiybhkgamdagwcsbeuqpwdarfhukfvifnutxjcknrqppll"
|
||||
deck = decompress_deck(deck_str)
|
||||
print(deck)
|
||||
|
|
Loading…
Reference in a new issue