
--- database/database.py
+++ database/database.py
... | ... | @@ -204,7 +204,7 @@ |
204 | 204 |
data = StringIO(csv_block) |
205 | 205 |
|
206 | 206 |
# using COPY instead of INSERT to do even less operation per data. |
207 |
- cur.copy_from(data, 'gps_data', sep=',' columns = columns) |
|
207 |
+ cur.copy_from(data, 'gps_data', sep=',', columns = columns) |
|
208 | 208 |
self.conn.commit() |
209 | 209 |
cur.close() |
210 | 210 |
return True |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?