From 289b23d5adbd8e7343c08953878116edc76e7371 Mon Sep 17 00:00:00 2001
From: "Christoph.Knote" <christoph.knote@physik.uni-muenchen.de>
Date: Thu, 14 Dec 2017 16:19:29 +0100
Subject: [PATCH] Added write method for output files.

---
 boxmox/data.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/boxmox/data.py b/boxmox/data.py
index 6872bc1..dfcce78 100644
--- a/boxmox/data.py
+++ b/boxmox/data.py
@@ -276,7 +276,8 @@ class Output(object):
         '''
         with open(self.fpath, 'rb') as i:
             for line in i:
-                f.write(i)
+                f.write(line)
+
     def copy(self, target_path):
         '''
         Copy output file to target_path
-- 
GitLab