Module: deluge Branch: master Commit: bf715d90fdd6bb5d3de62ae05673eaf38ed3d7bc
Author: Andrew Resch <[email protected]> Date: Fri Sep 3 15:15:02 2010 -0700 Save 'owner' and 'public' to the torrent state --- deluge/core/torrentmanager.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index fffb599..b0b230f 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -85,7 +85,7 @@ class TorrentState: move_completed_path=None, magnet=None, time_added=-1, - owner=None, + owner="", public=False ): self.torrent_id = torrent_id @@ -642,7 +642,9 @@ class TorrentManager(component.Component): torrent.options["move_completed"], torrent.options["move_completed_path"], torrent.magnet, - torrent.time_added + torrent.time_added, + torrent.owner, + torrent.options["public"] ) state.torrents.append(torrent_state) -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
