Fixed bug that was caused by manual run of torrentToMedia

This commit is contained in:
echel0n 2014-04-13 16:27:12 -07:00
commit e206829834
2 changed files with 3 additions and 2 deletions

View file

@ -268,7 +268,7 @@ class autoProcessMovie:
delete(dirName)
return 0 # success
if not release_id:
if not download_id or not release_id:
if clientAgent in ['utorrent', 'transmission', 'deluge'] :
return 1 # just to be sure TorrentToMedia doesn't start deleting files as we havent verified changed status.
else: