Skip to content

Commit 1659476

Browse files
committed
fix airfoil export edge case
1 parent 59e1d11 commit 1659476

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openglider/airfoil/profile_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def export_dat(self, pfad):
160160
"""
161161
with open(pfad, "w") as out:
162162
if self.name:
163-
out.write(str(self.name))
163+
out.write(str(self.name).strip())
164164
for p in self.data:
165165
out.write("\n{:.12f}\t{:.12}".format(*p))
166166
return pfad

0 commit comments

Comments
 (0)