mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-13 16:29:31 -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
|
- name: Install python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10.11'
|
||||||
|
|
||||||
- name: Check python path
|
|
||||||
run: which python
|
|
||||||
|
|
||||||
- name: Check python path
|
|
||||||
run: python --version
|
|
||||||
|
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: C:\hostedtoolcache\windows\Python\3.10.11\x64\python -m pip 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.
|
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.border = border
|
||||||
self.width = width
|
self.width = width
|
||||||
self.box_size = box_size
|
self.box_size = box_size
|
||||||
|
Loading…
Reference in New Issue
Block a user