issue #1701
This commit is contained in:
committed by
Yorik van Havre
parent
cff917b013
commit
9ad67346cc
@@ -32,7 +32,7 @@ def compute():
|
||||
c = float(l5.text())*m #standard value 0,1*m - 0,3*m
|
||||
j = float(l6.text())*m #standard value 0,015 - 0,04*m
|
||||
width = float(l7.text()) #gear width
|
||||
except:
|
||||
except ValueError:
|
||||
FreeCAD.Console.PrintError("Wrong input! Only numbers allowed...\n")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user