Skip to content

Commit de3d941

Browse files
author
Hugo Osvaldo Barrera
committed
Remove compeltely unused variable
1 parent 67973d9 commit de3d941

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

barcode/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,9 @@ def generate(
7575
output=None,
7676
writer_options=None,
7777
text=None,
78-
pil=False
7978
):
8079
options = writer_options or {}
8180
barcode = get(name, code, writer, **options)
82-
if pil:
83-
return barcode.render(writer_options, text)
8481
if isinstance(output, str):
8582
fullname = barcode.save(output, options, text)
8683
return fullname

0 commit comments

Comments
 (0)