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
|
||||
|
||||
# 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user