From b6d05c01e898080e7d3e0b51af4c34ea178888f4 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 1 Sep 2008 01:55:13 +0000 Subject: [PATCH] Make a copy of the default options to prevent torrents from sharing references --- deluge/core/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 7e7e9a926..ede95adc2 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -93,7 +93,7 @@ class Torrent: self.total_uploaded = 0 # Set the default options - self.options = OPTIONS + self.options = OPTIONS.copy() self.options.update(options) # We need to keep track if the torrent is finished in the state to prevent