Fix typo in execute plugin

This commit is contained in:
John Garland 2010-05-20 00:04:43 +10:00
parent 259d2633e7
commit 2e55769c18

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"]