changeset 2441 | c553769a65af |
parent 1878 | fb73a6b6622d |
child 2448 | 1367b796e129 |
--- a/plcopen/structures.py Tue Oct 09 12:05:43 2018 +0300 +++ b/plcopen/structures.py Tue Oct 09 13:50:29 2018 +0300 @@ -104,7 +104,7 @@ """ take a .csv file and translate it it a "csv_table" """ - return [map(string.strip, line.split(';')) for line in file.xreadlines()] + return [map(string.strip, line.split(';')) for line in file.readlines()] def find_section(section_name, table):