Skip to content

Commit accd991

Browse files
committed
boolean zen change
1 parent 81a5551 commit accd991

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_pyportal.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,7 @@ def show_QR(self, qr_data, qr_size=1, x=0, y=0, hide_background=False): # pylin
834834
self._qr_group.append(qr_sprite)
835835
if hide_background:
836836
board.DISPLAY.show(self._qr_group)
837-
self._qr_only = True
838-
else:
839-
self._qr_only = False
837+
self._qr_only = hide_background
840838

841839
def hide_QR(self):
842840
"""Clear any QR codes that are currently on the screen

0 commit comments

Comments
 (0)