KwabsHug commited on
Commit
fb318c2
1 Parent(s): b910e0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -198,8 +198,7 @@ def merge_lines(doc1, doc2, doc3, doc4):
198
  docs = [doc1, doc2, doc3, doc4]
199
  merged_lines = []
200
 
201
- with open("merged_lines.txt", "w") as f, \
202
- *map(open, docs) as handles:
203
  for lines in zip(*handles):
204
  merged_line = "".join(line.strip() for line in lines)
205
  f.write(merged_line + "\n")
 
198
  docs = [doc1, doc2, doc3, doc4]
199
  merged_lines = []
200
 
201
+ with open("merged_lines.txt", "w") as f, *map(open, docs) as handles:
 
202
  for lines in zip(*handles):
203
  merged_line = "".join(line.strip() for line in lines)
204
  f.write(merged_line + "\n")