hanifekaptan commited on
Commit
3914eaf
·
verified ·
1 Parent(s): 29fed68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- from barcode import get_barcode
3
  import segno
4
  import segno.helpers
5
  import io
@@ -380,7 +380,7 @@ class QRCodeGenerator:
380
  barcode.barcode.Barcode: The created barcode object.
381
  """
382
  # Gives an error: AttributeError: module 'barcode' has no attribute 'get_barcode'
383
- # brcd = get_barcode(name=brcode["Type"], code=brcode["Number"], writer=barcode.writer.ImageWriter())
384
  # return brcd
385
  pass
386
 
 
1
  import streamlit as st
2
+ from barcode
3
  import segno
4
  import segno.helpers
5
  import io
 
380
  barcode.barcode.Barcode: The created barcode object.
381
  """
382
  # Gives an error: AttributeError: module 'barcode' has no attribute 'get_barcode'
383
+ # brcd = barcode.get_barcode(name=brcode["Type"], code=brcode["Number"], writer=barcode.writer.ImageWriter())
384
  # return brcd
385
  pass
386