Skip to content
Snippets Groups Projects
Verified Commit 1e2c58d2 authored by David Beniamine's avatar David Beniamine
Browse files

Fix logo argument

parent 1e2eb931
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ def getCard(first, last, data):
return card
def genQr(data, output, logo=None, colors=('black', 'white'), logo_path=None):
def genQr(data, output, colors=('black', 'white'), logo_path=None):
if logo_path is not None:
logo = Image.open(logo_path)
# taking base width
......@@ -66,7 +66,7 @@ def main(first, last, output, data, logo, colors):
card = getCard(first, last, data)
contents = card.serialize()
print(contents)
genQr(contents, output, logo, colors)
genQr(contents, output, colors, logo)
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment