From f8dd891538bf5b80f71322a9ba9697fc700bf04f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 8 Jun 2020 02:56:13 +0200 Subject: [PATCH] Fix type annotation --- lihzahrd/header/treetopvariants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lihzahrd/header/treetopvariants.py b/lihzahrd/header/treetopvariants.py index 701d610..8bef031 100755 --- a/lihzahrd/header/treetopvariants.py +++ b/lihzahrd/header/treetopvariants.py @@ -4,8 +4,8 @@ import typing class TreetopVariants: """(Unknown) Information about the treetop variants in the world.""" - def __init__(self, treetop_variants: typing.List[str]): - self.treetop_variants: typing.List[str] = treetop_variants + def __init__(self, treetop_variants: typing.List[int]): + self.treetop_variants: typing.List[int] = treetop_variants def __repr__(self): return f"WorldTreetopVariants({self.treetop_variants})"