dataimport.py
changeset 10078 5eeffcfde1ba
parent 10007 727bbb361ed1
child 10091 09878c2f8621
--- a/dataimport.py	Wed Mar 26 14:45:33 2014 +0100
+++ b/dataimport.py	Tue Nov 18 18:20:08 2014 +0100
@@ -365,7 +365,7 @@
                                columns, encoding='utf-8'):
     """ Execute thread with copy from
     """
-    buf = _create_copyfrom_buffer(data, columns, encoding)
+    buf = _create_copyfrom_buffer(data, columns, encoding=encoding)
     if buf is None:
         _execmany_thread_not_copy_from(cu, statement, data)
     else: