Fix do not create torrentfiles folder unless 'copy_torrent_file' is True

This commit is contained in:
Andrew Resch 2008-07-26 03:51:53 +00:00
commit f26f9c6331

View file

@ -711,7 +711,7 @@ class Core(
self.config_value_changed(key, value)
def _on_set_torrentfiles_location(self, key, value):
# First try to create the new directory
if self.config["copy_torrent_file"]:
try:
os.makedirs(value)
except Exception, e: