formatting
This commit is contained in:
parent
6970a6c786
commit
9b34fcd7ef
@ -18,20 +18,20 @@ class OledReactionType:
|
|||||||
STATIC = 0
|
STATIC = 0
|
||||||
LAYER = 1
|
LAYER = 1
|
||||||
|
|
||||||
|
|
||||||
class OledData:
|
class OledData:
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
image=None,
|
image=None,
|
||||||
corner_one=None,
|
corner_one=None,
|
||||||
corner_two=None,
|
corner_two=None,
|
||||||
corner_three=None,
|
corner_three=None,
|
||||||
corner_four=None,
|
corner_four=None,
|
||||||
):
|
):
|
||||||
if image:
|
if image:
|
||||||
self.data=[image]
|
self.data = [image]
|
||||||
elif corner_one and corner_two and corner_three and corner_four:
|
elif corner_one and corner_two and corner_three and corner_four:
|
||||||
self.data= [corner_one,corner_two,corner_three,corner_four]
|
self.data = [corner_one, corner_two, corner_three, corner_four]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Oled(Extension):
|
class Oled(Extension):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user