Fix typo in execute plugin

This commit is contained in:
John Garland 2010-05-20 00:04:43 +10:00
parent 3226b1819d
commit 0314d0440f
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Core(CorePluginBase):
# Grab the torrent name and save path
torrent_name = info["name"]
if event == "completed":
if event == "complete":
save_path = info["move_on_completed_path"] if info ["move_completed"] else info["save_path"]
else:
save_path = info["save_path"]