diff --git a/odo/backends/sql_csv.py b/odo/backends/sql_csv.py index a1430713..db23a4b1 100644 --- a/odo/backends/sql_csv.py +++ b/odo/backends/sql_csv.py @@ -49,7 +49,7 @@ def __init__(self, element, csv, delimiter=',', header=None, na_value='', self.quotechar = quotechar self.escapechar = escapechar self.encoding = encoding - self.skiprows = int(skiprows or self.header) + self.skiprows = skiprows if self.header is None else int(self.header) self._bind = getbind(element, bind) for k, v in kwargs.items():