Make csvdb use dbHelper() to get a dbo
This commit is contained in:
parent
aaa683aa73
commit
63787dbf28
1 changed files with 1 additions and 1 deletions
2
csvdb.py
2
csvdb.py
|
@ -4,7 +4,7 @@ import dbtools
|
|||
|
||||
import sqlite3, csv, sys
|
||||
|
||||
def makeDB(dbo=dbtools.dbObject(), infile='tweets.csv'):
|
||||
def makeDB(dbo=dbtools.dbHelper(), infile='tweets.csv'):
|
||||
try:
|
||||
infile = open(infile)
|
||||
except IOError:
|
||||
|
|
Loading…
Reference in a new issue