From cda264f0b42e291f1c2727c686bfb05b86089996 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 12 Jun 2019 12:09:05 -0700 Subject: start work on airfoil evaluator.py --- creator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/creator.py b/creator.py index 35784a8..eac3918 100644 --- a/creator.py +++ b/creator.py @@ -96,6 +96,8 @@ class Coordinates: # self.print_coord(2) with open(full_path, 'w') as sys.stdout: self.print_coord(2) + # Following line required to reset value of sys.stdout + sys.stdout = sys.__stdout__ # It is cleaner to use this context guard to ensure file is closed return None -- cgit v1.2.3