diff --git a/fwffr.py b/fwffr.py index 1866d5d..0831856 100644 --- a/fwffr.py +++ b/fwffr.py @@ -115,7 +115,7 @@ class FixedLengthFieldParser(object): right_justified A list of fields that are right-justified instead of left. skip_justified - A list of fields that aren't justfiied. + A list of fields that aren't justified. encoding The base encoding of the file. If set, all values will be decoded. skip_unknown_types @@ -138,7 +138,7 @@ def __init__(self, file_obj, fields, record_type_func=None, self.skip_justified = skip_justified self.encoding = encoding self.skip_unknown_types = skip_unknown_types - self.strip = True + self.strip = strip def __iter__(self): for line in self.file_obj: