Ticket #2197: 0001-move_on_completed.patch

File 0001-move_on_completed.patch, 852 bytes (added by DerFlob, 11 years ago)
  • deluge/ui/console/modes/torrent_actions.py

    diff --git a/deluge/ui/console/modes/torrent_actions.py b/deluge/ui/console/modes/torrent_actions.py
    index 2988245..fb6a9f4 100644
    a b def _do_set_torrent_options(ids, result): 
    250250                for tid in ids: 
    251251                    if "move_on_completed_path" in options: 
    252252                        client.core.set_torrent_move_completed_path(tid, options["move_on_completed_path"]) 
     253                    if "move_on_completed" in options: 
     254                        client.core.set_torrent_move_completed(tid, options["move_on_completed"]) 
    253255                    if "is_auto_managed" in options: 
    254256                        client.core.set_torrent_auto_managed(tid, options["is_auto_managed"]) 
    255257                    if "remove_at_ratio" in options: