diff --git a/bcpy/data_objects.py b/bcpy/data_objects.py index f898865..912459c 100644 --- a/bcpy/data_objects.py +++ b/bcpy/data_objects.py @@ -317,7 +317,7 @@ def to_sql(self, sql_table, index=False, use_existing_sql_table=False, sep=delimiter, quotechar=qualifier, quoting=csv.QUOTE_ALL, - line_terminator=newline, + lineterminator=newline, path_or_buf=csv_file_path) self._flat_file_object = FlatFile( delimiter=',',