revert stdlib changes which are not required anymore

This commit is contained in:
Andreas Rumpf 2020-04-01 14:34:24 +02:00
commit 484548c784
6 changed files with 20 additions and 21 deletions

View file

@ -338,8 +338,8 @@ proc rowEntry*(my: var CsvParser, entry: string): var string =
strm.close()
let index = my.headers.find(entry)
assert index >= 0
result = my.row[index]
if index >= 0:
result = my.row[index]
when not defined(testing) and isMainModule:
import os