remove undeeded code
This commit is contained in:
parent
f8cb36a109
commit
82d2fb08c0
|
@ -682,10 +682,6 @@ class Manager:
|
|||
if torrent not in torrents_with_unique_ID:
|
||||
# print "Adding torrent to core:", torrent.filename, torrent.save_dir, torrent.compact
|
||||
try:
|
||||
if(torrent.compact == True):
|
||||
torrent.compact == "1"
|
||||
else:
|
||||
torrent.compact == "0"
|
||||
unique_ID = deluge_core.add_torrent(torrent.filename,
|
||||
torrent.save_dir,
|
||||
torrent.compact)
|
||||
|
|
Loading…
Reference in New Issue