diff --git a/adafruit_ssd1306.py b/adafruit_ssd1306.py index daceedb..0f8e705 100644 --- a/adafruit_ssd1306.py +++ b/adafruit_ssd1306.py @@ -113,7 +113,9 @@ def init_display(self): SET_DISP_OFFSET, 0x00, SET_COM_PIN_CFG, - 0x02 if (self.height == 32 or self.height == 16) and (self.width != 64) else 0x12, + 0x02 + if (self.height == 32 or self.height == 16) and (self.width != 64) + else 0x12, # timing and driving scheme SET_DISP_CLK_DIV, 0x80,