From 6b3507e495961f2b509ef00817928a86d7086f33 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sun, 31 May 2020 20:17:52 +1000 Subject: [PATCH] Add code documentation --- onionshare_gui/widgets.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onionshare_gui/widgets.py b/onionshare_gui/widgets.py index 3b1180b3..58ddd1b5 100644 --- a/onionshare_gui/widgets.py +++ b/onionshare_gui/widgets.py @@ -93,6 +93,10 @@ class MinimumWidthWidget(QtWidgets.QWidget): class Image(qrcode.image.base.BaseImage): + """ + A custom Image class, for use with the QR Code pixmap. + """ + def __init__(self, border, width, box_size): self.border = border self.width = width