YGO06: make sure it runs on 3.8 support (#3324)

* YGO06: make sure it runs on python 3.8

* YGO06: change merge of dict, so it runs on python 3.8
This commit is contained in:
Rensen3
2024-05-18 13:53:17 +02:00
committed by GitHub
parent 5e3c5dedf3
commit 2bc345504e
2 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,6 @@
structure_contents: dict[str, set] = {
from typing import Dict, Set
structure_contents: Dict[str, Set] = {
"dragons_roar": {
"Luster Dragon",
"Armed Dragon LV3",
@@ -77,5 +79,5 @@ structure_contents: dict[str, set] = {
}
def get_deck_content_locations(deck: str) -> dict[str, str]:
def get_deck_content_locations(deck: str) -> Dict[str, str]:
return {f"{deck} {i}": content for i, content in enumerate(structure_contents[deck])}