mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-08 03:59:23 +01:00
Forgot a return after an irc.error.
This commit is contained in:
parent
a02282c957
commit
287c9028a5
@ -141,6 +141,7 @@ class Lookup(callbacks.Privmsg):
|
|||||||
(key, value) = line.split(':', 1)
|
(key, value) = line.split(':', 1)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
irc.error(msg, 'Invalid line in %s: %r' % (filename, line))
|
irc.error(msg, 'Invalid line in %s: %r' % (filename, line))
|
||||||
|
return
|
||||||
cursor.execute(sql, key, value)
|
cursor.execute(sql, key, value)
|
||||||
cursor.execute("CREATE INDEX %s_keys ON %s (key)" % (name, name))
|
cursor.execute("CREATE INDEX %s_keys ON %s (key)" % (name, name))
|
||||||
db.commit()
|
db.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user