[Draft] Airfoil Import - User feedback not shown..

... as an error therefore Report Console doesn't attract their attention to why there's nothing in the folder on import of faulty dat file.

See discussion: https://forum.freecadweb.org/viewtopic.php?f=3&t=59628
This commit is contained in:
Syres916
2021-06-23 15:11:36 +01:00
committed by GitHub
parent df364b9714
commit 5ca31d6de2

View File

@@ -183,7 +183,7 @@ def process(doc, filename):
afile.close()
if len(coords) < 3:
print('Did not find enough coordinates\n')
FCC.PrintError(translate("ImportAirfoilDAT", "Did not find enough coordinates") + "\n")
return
# sometimes coords are divided in upper an lower side