Made to index from 1 instead of 0.

This commit is contained in:
Jeremy Fincher 2003-10-02 06:13:54 +00:00
parent 4eaec74eea
commit 88b3d63026

View File

@ -337,7 +337,7 @@ class Factoids(ChannelDBHandler, callbacks.Privmsg):
ORDER BY id""", id)
factoids = cursor.fetchall()
L = []
counter = 0
counter = 1
for (added_by, added_at) in factoids:
added_at = time.strftime(conf.humanTimestampFormat,
time.localtime(int(added_at)))