Browse Source

Whoops not reverted that last time

master
Dashie der otter 3 years ago
parent
commit
5b49e86c71
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      barcode_utils.py

+ 1
- 1
barcode_utils.py View File

@@ -34,7 +34,7 @@ def generate_ean13(part_type, part_id, dir_out):
opts = dict(module_width=0.2, module_height=size[0], quiet_zone=1, font_size=size[1], text_distance=1)
ean = barcode.get('ean13', barcode_str, writer=ImageWriter())

out = os.path.join(dir_output, _type, "{0}_{1}.png".format(txt, barcode_str))
out = os.path.join(dir_output, _type, "{0}_{1}".format(txt, barcode_str))

if not os.path.isdir(os.path.join(dir_output, _type)):
os.makedirs(os.path.join(dir_output, _type))