Skip to content

Commit

Permalink
don't close a stream csv file when done
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed Jun 17, 2015
1 parent fe6a8ba commit 9fdac33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pylinac/log_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,6 @@ def to_csv(self, filename=None):

if not is_file_object:
print("CSV file written to: " + filename)
else:
csv_file.close()

def _read_log(self, exclude_beam_off):
"""Read in log based on what type of log it is: Trajectory or Dynalog."""
Expand Down

0 comments on commit 9fdac33

Please sign in to comment.