Forgot to change the --url results based on now getting the id from the database.

This commit is contained in:
Jeremy Fincher 2003-09-09 03:53:27 +00:00
parent 071f3916f8
commit 8e44660692

View File

@ -269,7 +269,7 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
urls = ['<%s>' % t[1] for t in cursor.fetchall()]
s = ', '.join(urls)
elif simple:
s = cursor.fetchone()[0]
s = cursor.fetchone()[1]
else:
(id, url, added, added_by) = cursor.fetchone()
timestamp = time.strftime('%I:%M %p, %B %d, %Y',