mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-19 16:48:43 +00:00
Fix do not create torrentfiles folder unless 'copy_torrent_file' is True
This commit is contained in:
parent
2102c0b910
commit
f26f9c6331
1 changed files with 5 additions and 5 deletions
|
@ -711,7 +711,7 @@ class Core(
|
||||||
self.config_value_changed(key, value)
|
self.config_value_changed(key, value)
|
||||||
|
|
||||||
def _on_set_torrentfiles_location(self, key, value):
|
def _on_set_torrentfiles_location(self, key, value):
|
||||||
# First try to create the new directory
|
if self.config["copy_torrent_file"]:
|
||||||
try:
|
try:
|
||||||
os.makedirs(value)
|
os.makedirs(value)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue