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:
|
if torrent not in torrents_with_unique_ID:
|
||||||
# print "Adding torrent to core:", torrent.filename, torrent.save_dir, torrent.compact
|
# print "Adding torrent to core:", torrent.filename, torrent.save_dir, torrent.compact
|
||||||
try:
|
try:
|
||||||
if(torrent.compact == True):
|
|
||||||
torrent.compact == "1"
|
|
||||||
else:
|
|
||||||
torrent.compact == "0"
|
|
||||||
unique_ID = deluge_core.add_torrent(torrent.filename,
|
unique_ID = deluge_core.add_torrent(torrent.filename,
|
||||||
torrent.save_dir,
|
torrent.save_dir,
|
||||||
torrent.compact)
|
torrent.compact)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user