Fix do not create torrentfiles folder unless 'copy_torrent_file' is True
This commit is contained in:
parent
2102c0b910
commit
f26f9c6331
@ -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…
x
Reference in New Issue
Block a user