Add extra output in add_torrent_url() and update TODO list.

This commit is contained in:
Andrew Resch 2007-09-18 03:18:43 +00:00
commit 9370d81444
2 changed files with 3 additions and 3 deletions

2
TODO
View file

@ -16,8 +16,6 @@
* Figure out easy way for user-made plugins to add i18n support. * Figure out easy way for user-made plugins to add i18n support.
* Change the menubar.py gtkui component to menus.py and add support for plugins * Change the menubar.py gtkui component to menus.py and add support for plugins
to add menuitems to the torrentmenu in an easy way. to add menuitems to the torrentmenu in an easy way.
* Create a new status icon.. a red alert icon to show there is an error with
the torrent.. ie, disk full alert and stuff like that..
* Add the tracker responses to the torrent details * Add the tracker responses to the torrent details
* Fast resume saving * Fast resume saving
* Restart daemon function * Restart daemon function

View file

@ -99,7 +99,9 @@ def add_torrent_url(torrent_url):
result = core.add_torrent_url(torrent_url) result = core.add_torrent_url(torrent_url)
if result is False: if result is False:
# The torrent url was not added successfully. # The torrent url was not added successfully.
log.warning("Torrent %s url was not added successfully.", torrent_url) log.warning("Torrent %s was not added successfully.", torrent_url)
else:
log.warning("Invalid URL %s", torrent_url)
def remove_torrent(torrent_ids): def remove_torrent(torrent_ids):
"""Removes torrent_ids from the core.. Expects a list of torrent_ids""" """Removes torrent_ids from the core.. Expects a list of torrent_ids"""