Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #14 from mozillazg/master

Add show() function, allowing the run_example to actually work.
Thanks @mozillazg!
  • Loading branch information...
commit ad2c244f3e5aa3da46791e3aeb51d20641a9bdfb 2 parents 77fe7aa + 2800475
@SmileyChris SmileyChris authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  qrcode/image/pil.py
View
3  qrcode/image/pil.py
@@ -28,6 +28,9 @@ def drawrect(self, row, col):
y + self.box_size - 1)]
self._idr.rectangle(box, fill="black")
+ def show(self):
+ self._img.show()
+
def save(self, stream, kind=None):
if kind is None:
kind = self.kind
Please sign in to comment.
Something went wrong with that request. Please try again.