remove whitespace from quote.py's table creation
This commit is contained in:
parent
f4098232c0
commit
b7bcba0613
|
@ -35,9 +35,9 @@ def quote(bot, input):
|
||||||
"random or [#n]th quote by <nick> or from <#chan>/adds quote"
|
"random or [#n]th quote by <nick> or from <#chan>/adds quote"
|
||||||
|
|
||||||
conn = bot.get_db_connection(bot, input.server)
|
conn = bot.get_db_connection(bot, input.server)
|
||||||
conn.execute('''create table if not exists quote
|
conn.execute("create table if not exists quote"
|
||||||
(chan, nick, add_nick, msg, time real, deleted default 0,
|
"(chan, nick, add_nick, msg, time real, deleted default 0, "
|
||||||
primary key (chan, nick, msg))''')
|
"primary key (chan, nick, msg))")
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue