Skip to content

Commit 3ae1850

Browse files
author
matthias_schaub
committed
If no colums defined csv matches all columns.
1 parent 29dcc28 commit 3ae1850

File tree

1 file changed

+1
-1
lines changed
  • mapswipe_workers/mapswipe_workers

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def query(self, query, data=None):
6060
self._db_connection.commit()
6161
self._db_cur.close()
6262

63-
def copy_from(self, f, table, columns):
63+
def copy_from(self, f, table, columns=None):
6464
self._db_cur = self._db_connection.cursor()
6565
self._db_cur.copy_from(f, table, columns=columns)
6666
self._db_connection.commit()

0 commit comments

Comments
 (0)