We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1476c commit f8ca997Copy full SHA for f8ca997
setup.py
@@ -65,6 +65,9 @@ def _encode_image(m):
65
66
desc = open(file_path, encoding='utf-8').read()
67
68
+ # remove QRCode
69
+ desc = '\n'.join([line for line in desc.splitlines() if line.find('QRcode') < 0])
70
+
71
# substitute html image
72
desc = re.sub(r'(<img\s+src\s*=\s*\")(./fig/[^"]+)(\")', _encode_image, desc)
73
0 commit comments