add default val to is_armed

This commit is contained in:
matixezor 2021-03-30 18:47:02 +02:00
parent bd753f3e06
commit cc79adb81a

View File

@ -1,3 +1,3 @@
class Mine: class Mine:
def __init__(self, is_armed: bool): def __init__(self, is_armed: bool = True):
self.is_armed = is_armed self.is_armed = is_armed