Fix for KiCad 5.1
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
from .CircularZone import *
|
from __future__ import print_function
|
||||||
|
from CircularZone import *
|
||||||
CircularZone().register()
|
CircularZone().register()
|
||||||
print "ici"
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
# MA 02110-1301, USA.
|
# MA 02110-1301, USA.
|
||||||
|
from __future__ import print_function
|
||||||
import pcbnew
|
import pcbnew
|
||||||
import FillArea
|
import FillArea
|
||||||
import wx
|
import wx
|
||||||
@ -75,7 +76,7 @@ class FillAreaAction(pcbnew.ActionPlugin):
|
|||||||
except Exception:
|
except Exception:
|
||||||
wx.MessageDialog(None, "Invalid parameter for delete")
|
wx.MessageDialog(None, "Invalid parameter for delete")
|
||||||
else:
|
else:
|
||||||
print "Cancel"
|
print("Cancel")
|
||||||
a.Destroy()
|
a.Destroy()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user