Skip to content

Commit 3cbe35d

Browse files
authored
Merge pull request #96 from kj7ice/master
Use new Netbox version identifier. Fixes #93
2 parents 76f2f2c + 7ca1da5 commit 3cbe35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_qrcode/template_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def x_page(self):
6767
else:
6868
img = get_img_b64(qr_img)
6969
try:
70-
if version.parse(settings.VERSION).major >= 3:
70+
if version.parse(settings.RELEASE.version).major >= 3:
7171
return self.render(
7272
'netbox_qrcode/qrcode3.html', extra_context={'image': img}
7373
)

0 commit comments

Comments
 (0)