Make csvdb use dbHelper() to get a dbo

This commit is contained in:
Klaus-Uwe Mitterer 2016-06-06 19:19:23 +02:00
parent aaa683aa73
commit 63787dbf28

View file

@ -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: