From 4b141da355969e9bece1af86cc9bd0c68b1db149 Mon Sep 17 00:00:00 2001 From: Meet Patel Date: Thu, 17 Aug 2017 13:27:01 -0400 Subject: [PATCH] Update convert.py --- scripts/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/convert.py b/scripts/convert.py index 8eeb7cff4e1..2817cdb1cd7 100644 --- a/scripts/convert.py +++ b/scripts/convert.py @@ -57,7 +57,7 @@ def convert(size, box): txt_path = mypath + txt_name print("Input:" + txt_path) txt_file = open(txt_path, "r") - lines = txt_file.read().split('\r\n') #for ubuntu, use "\r\n" instead of "\n" + lines = txt_file.read().splitlines() """ Open output text files """ txt_outpath = outpath + txt_name