-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
(New to coding python, New in Github. Sorry to do the wrong way)
Because of ascii encode issue with description received from Digiteyes, I had to add " .encode('utf-8') " to
<try:
desc = u.get_description(barcode)
print "Received description '{0}' for barcode {1}".format(desc, unicode(barcode))
except CodeInvalid:
print "Barcode {0} not recognized as a UPC; creating learning opportunity".format(unicode(barcode)).encode('utf-8') >
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels