Opps temp file not needed

This commit is contained in:
Tim 2022-02-10 17:24:34 +00:00
parent d5c1c57584
commit 329b19ef75
No known key found for this signature in database
GPG Key ID: E95CE08DB3F50537

17
temp.py
View File

@ -1,17 +0,0 @@
import qrcode
import qrcode.image.svg
method = "basic"
if method == 'basic':
# Simple factory, just a set of rects.
factory = qrcode.image.svg.SvgImage
elif method == 'fragment':
# Fragment factory (also just a set of rects)
factory = qrcode.image.svg.SvgFragmentImage
else:
# Combined path factory, fixes white space that may occur when zooming
factory = qrcode.image.svg.SvgPathImage
img = qrcode.make('Some data here', image_factory=factory)
a =1