mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
Make a copy of the default options to prevent torrents from sharing
references
This commit is contained in:
parent
89ed0d5d41
commit
b6d05c01e8
@ -93,7 +93,7 @@ class Torrent:
|
|||||||
self.total_uploaded = 0
|
self.total_uploaded = 0
|
||||||
|
|
||||||
# Set the default options
|
# Set the default options
|
||||||
self.options = OPTIONS
|
self.options = OPTIONS.copy()
|
||||||
self.options.update(options)
|
self.options.update(options)
|
||||||
|
|
||||||
# We need to keep track if the torrent is finished in the state to prevent
|
# We need to keep track if the torrent is finished in the state to prevent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user