Skip to content

can not use sqlite3 in script? #143

@an9er

Description

@an9er

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions