mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-06 22:09:15 -04:00
Fixes qrcode image_factory
This commit is contained in:
parent
bd6aee07fb
commit
4715954eff
2 changed files with 2 additions and 8 deletions
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…
Add table
Add a link
Reference in a new issue