Some cleanup
This commit is contained in:
parent
6e25af9493
commit
1c2c1f286f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue