mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 23:39:43 -05:00
Fixes qrcode image_factory
This commit is contained in:
parent
b074d26df5
commit
70a703a98b
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user