Commit 17c57f72 authored by anthraxx's avatar anthraxx
Browse files

using resource directory again as those files are now used by the project directly

parent 75b37c01
......@@ -28,7 +28,7 @@ class TokenGenerator(object):
return base64.encodestring(f.getvalue()).decode('utf-8')
def generate(self):
with open('misc/customer_tokens_template.svg') as f:
with open('resource/customer_tokens_template.svg') as f:
t = Template(f.read())
with open('customer_tokens_%i.pdf' % time(), 'wb') as f:
f.write(svg2pdf(t.render(make_barcode=self.make_barcode)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment