Connect to a SQLite database

master
Sven Slootweg 13 years ago
parent 0864499ad5
commit d137ba04e5

@ -20,6 +20,9 @@ def get_attribute(element, tagname):
else: else:
return val.text return val.text
database = sqlite3.connect(options['database'])
cursor = database.cursor()
#print "Retrieving Jamendo database..." #print "Retrieving Jamendo database..."
#urllib.urlretrieve(xml_url, xml_file, reporthook=update_progress) #urllib.urlretrieve(xml_url, xml_file, reporthook=update_progress)
#print "" #print ""

Loading…
Cancel
Save