mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Forgot to change the --url results based on now getting the id from the database.
This commit is contained in:
parent
071f3916f8
commit
8e44660692
@ -269,7 +269,7 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
|
|||||||
urls = ['<%s>' % t[1] for t in cursor.fetchall()]
|
urls = ['<%s>' % t[1] for t in cursor.fetchall()]
|
||||||
s = ', '.join(urls)
|
s = ', '.join(urls)
|
||||||
elif simple:
|
elif simple:
|
||||||
s = cursor.fetchone()[0]
|
s = cursor.fetchone()[1]
|
||||||
else:
|
else:
|
||||||
(id, url, added, added_by) = cursor.fetchone()
|
(id, url, added, added_by) = cursor.fetchone()
|
||||||
timestamp = time.strftime('%I:%M %p, %B %d, %Y',
|
timestamp = time.strftime('%I:%M %p, %B %d, %Y',
|
||||||
|
Loading…
Reference in New Issue
Block a user