Commit 3c5de0a4 authored by ge0rg's avatar ge0rg

invitation: display QR code black-on-white

parent 612eebb5
......@@ -34,7 +34,9 @@ class QrWindow(Win):
code.add_data(self.qr)
out = io.StringIO()
code.print_ascii(out, invert=self.inverted)
self.addstr(" " + self.qr + "\n" + out.getvalue() + " ")
self.addstr(" " + self.qr + "\n")
self.addstr(out.getvalue(), to_curses_attr((15, 0)))
self.addstr(" ")
col = to_curses_attr(get_theme().COLOR_TAB_NORMAL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment