From 9eff4e999f3136a4f3d27de4d01625f8c9d334c7 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Wed, 15 Aug 2018 14:28:12 +0200 Subject: [PATCH] Quick fix to avoid nameclash with local qrcode python package --- pcbnew/python/plugins/{qrcode.py => kicad_qrcode.py} | 0 pcbnew/python/plugins/qrcode_footprint_wizard.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pcbnew/python/plugins/{qrcode.py => kicad_qrcode.py} (100%) diff --git a/pcbnew/python/plugins/qrcode.py b/pcbnew/python/plugins/kicad_qrcode.py similarity index 100% rename from pcbnew/python/plugins/qrcode.py rename to pcbnew/python/plugins/kicad_qrcode.py diff --git a/pcbnew/python/plugins/qrcode_footprint_wizard.py b/pcbnew/python/plugins/qrcode_footprint_wizard.py index 0fc8aa1289..a2a7aa0bbe 100644 --- a/pcbnew/python/plugins/qrcode_footprint_wizard.py +++ b/pcbnew/python/plugins/qrcode_footprint_wizard.py @@ -20,7 +20,7 @@ import FootprintWizardBase # Additional import for QRCode # see https://github.com/kazuhikoarase/qrcode-generator/blob/master/python/qrcode.py -import qrcode +import kicad_qrcode as qrcode # TODO: local qrcode package is prefered, so we renamed it class QRCodeWizard(FootprintWizardBase.FootprintWizard): GetName = lambda self: '2D Barcode QRCode'