Fixes qrcode image_factory

This commit is contained in:
Saptak S 2023-04-21 02:19:14 +05:30
parent b074d26df5
commit 70a703a98b
No known key found for this signature in database
GPG Key ID: 7B7F1772C0C6FCBF
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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