You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defgenerate_barcode_from_badge_num(badge_num, ...snip...)
ifc.USE_BADGE_NUM_AS_BARCODE:
returnbadge_num# insert rest of function here
.....snip.....
defget_badge_num_from_barcode(badge_num, ...snip...)
ifc.USE_BADGE_NUM_AS_BARCODE:
returnbadge_num# insert rest of function here
.....snip.....
Need a config option to turn off the encrypt/decrypt step.
We'll need this for magwest where the badge# is the barcode.
It should be relatively easy, basically have a config option that just turns the following two functions into NOOPs:
https://github.com/rams/barcode/blob/master/barcode/barcode_utils.py#L53
https://github.com/rams/barcode/blob/master/barcode/barcode_utils.py#L96
should just look like: