Allow circular zone < 1mm (fix: #41)

This commit is contained in:
Jean-Samuel Reynaud
2021-09-16 16:11:01 +02:00
parent 3e5e1b5f66
commit 8787908e7e

View File

@ -41,7 +41,7 @@ class CircularZone(pcbnew.ActionPlugin):
val = None
try:
val = float(value)
if val < 1:
if val == 0:
raise Exception("Invalid")
except:
self.Warn(