aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaptak S <saptak013@gmail.com>2023-04-21 02:19:14 +0530
committerSaptak S <saptak013@gmail.com>2023-04-21 02:19:14 +0530
commit70a703a98b963a872ec62fcea549a485f21f1f50 (patch)
tree0ac97f07ee1047bd4df93abe4930af0bb249770c
parentb074d26df54dd9ef10e06ab7da06166810ec0b46 (diff)
downloadonionshare-70a703a98b963a872ec62fcea549a485f21f1f50.tar.gz
onionshare-70a703a98b963a872ec62fcea549a485f21f1f50.zip
Fixes qrcode image_factory
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--desktop/onionshare/widgets.py2
2 files changed, 2 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7caadfda..0e26bb58 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,13 +17,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v4
with:
- python-version: '3.10'
-
- - name: Check python path
- run: which python
-
- - name: Check python path
- run: python --version
+ python-version: '3.10.11'
- name: Install poetry
run: C:\hostedtoolcache\windows\Python\3.10.11\x64\python -m pip install poetry
diff --git a/desktop/onionshare/widgets.py b/desktop/onionshare/widgets.py
index b9b69e72..2eacc771 100644
--- a/desktop/onionshare/widgets.py
+++ b/desktop/onionshare/widgets.py
@@ -101,7 +101,7 @@ class Image(qrcode.image.base.BaseImage):
A custom Image class, for use with the QR Code pixmap.
"""
- def __init__(self, border, width, box_size):
+ def __init__(self, border, width, box_size, *args, **kwargs):
self.border = border
self.width = width
self.box_size = box_size