qdore/Mutate

can not use sqlite3 in script?

Opened this issue · 0 comments

an9er commented

it will result in not print any result in mutate.
i use this script:
#!/usr/bin/python2
#encoding=utf-8

import sqlite3
conn = sqlite3.connect('dict.db')
c = conn.cursor()

print '[' + 'test' + ']'
print 'command=copy'
print 'icon='
print 'subtext=' + 'test'
c.execute('SELECT * FROM dict WHERE en=?', ('happy',))
print '[' + 'test' + ']'
print 'command=copy'
print 'icon='
print 'subtext=' + 'test'

and it only print one item, can you help me?