Some cleanup

This commit is contained in:
Fabian Dill 2021-10-21 21:06:38 +02:00
parent 6e25af9493
commit 1c2c1f286f
2 changed files with 0 additions and 1 deletions

View File

@ -125,7 +125,6 @@ class FactorioStartItems(OptionDict):
default = {"burner-mining-drill": 19, "stone-furnace": 19} default = {"burner-mining-drill": 19, "stone-furnace": 19}
def __init__(self, value: typing.Dict[str, typing.Any]): def __init__(self, value: typing.Dict[str, typing.Any]):
print(value)
if any(item_count < 1 for item_count in value.values()): if any(item_count < 1 for item_count in value.values()):
raise Exception("Cannot have non-positive item counts.") raise Exception("Cannot have non-positive item counts.")
super().__init__(value) super().__init__(value)