standardize display() method
This commit is contained in:
parent
140a468ef7
commit
b5d2818ea2
2 changed files with 4 additions and 4 deletions
|
|
@ -260,7 +260,7 @@ class EPD:
|
|||
buf[int((newx + newy*self.width) / 8)] &= ~(0x80 >> (y % 8))
|
||||
return buf
|
||||
|
||||
def Display(self, image):
|
||||
def display(self, image):
|
||||
if (image == None):
|
||||
return
|
||||
# Width = (self.width % 8 == 0)? (self.width / 8 ): (self.width / 8 + 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue