Fix for KiCad 5.1

This commit is contained in:
Jean-Samuel Reynaud
2019-04-19 18:27:27 +02:00
parent 43116af07c
commit 28f90ac661
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,3 @@
from .CircularZone import *
from __future__ import print_function
from CircularZone import *
CircularZone().register()
print "ici"

View File

@ -17,6 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
from __future__ import print_function
import pcbnew
import FillArea
import wx
@ -75,7 +76,7 @@ class FillAreaAction(pcbnew.ActionPlugin):
except Exception:
wx.MessageDialog(None, "Invalid parameter for delete")
else:
print "Cancel"
print("Cancel")
a.Destroy()