Skip to content

Commit 2d907f4

Browse files
committed
blacken
1 parent 4c5f7fc commit 2d907f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_magtag/magtag.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ def refresh(self):
329329
Refresh the display
330330
"""
331331
while True:
332-
try:
333-
self.graphics.display.refresh()
334-
return
335-
except RuntimeError:
336-
time.sleep(1)
332+
try:
333+
self.graphics.display.refresh()
334+
return
335+
except RuntimeError:
336+
time.sleep(1)
337337

338338
def fetch(self, refresh_url=None, timeout=10):
339339
"""Fetch data from the url we initialized with, perfom any parsing,

0 commit comments

Comments
 (0)