mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fix TypeError: expected str instance, int found
This commit is contained in:
parent
8cd4b56891
commit
84338c76c6
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,8 @@ import re
|
|||
import sqlite3
|
||||
import time
|
||||
|
||||
from six import text_type
|
||||
|
||||
import core
|
||||
from core import logger
|
||||
|
||||
|
@ -187,7 +189,7 @@ class DBConnection(object):
|
|||
"INSERT OR IGNORE INTO {table} ({columns}) "
|
||||
"VALUES ({values})".format(
|
||||
table=tableName,
|
||||
columns=", ".join(items),
|
||||
columns=", ".join(map(text_type, items)),
|
||||
values=", ".join(["?"] * len(items))
|
||||
),
|
||||
items,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue