mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
allow plugin to specify output path
This commit is contained in:
parent
b34219bd9c
commit
4783f31deb
@ -1027,6 +1027,9 @@ class DelugeGTK:
|
|||||||
if path is None:
|
if path is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.interactive_add_torrent_path(self, torrent, path)
|
||||||
|
|
||||||
|
def interactive_add_torrent_path(self, torrent, path):
|
||||||
try:
|
try:
|
||||||
dumped_torrent = self.manager.dump_torrent_file_info(torrent)
|
dumped_torrent = self.manager.dump_torrent_file_info(torrent)
|
||||||
if self.config.get('enable_files_dialog'):
|
if self.config.get('enable_files_dialog'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user