f9d2a39c3d
Commit 5b23d9 removed the line "import shared" from helper_inbox. Almost all of what shared was used for became covered by helper_sql. But, shared still needs to be imported because there is still one line that uses shared: 9: shared.UISignalQueue.put(('removeInboxRowByMsgid',msgid))
11 lines
291 B
Python
11 lines
291 B
Python
from helper_sql import *
|
|
import shared
|
|
|
|
def insert(t):
|
|
sqlExecute('''INSERT INTO inbox VALUES (?,?,?,?,?,?,?,?,?)''', *t)
|
|
|
|
def trash(msgid):
|
|
sqlExecute('''UPDATE inbox SET folder='trash' WHERE msgid=?''', msgid)
|
|
shared.UISignalQueue.put(('removeInboxRowByMsgid',msgid))
|
|
|