Browse files

log what incomplete folders gets removed

  • Loading branch information...
1 parent fcc686d commit 1cd1555e03f8a699299222b46d303f8ceeac7583 @TsUPeR committed Apr 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 utils.py
View
1 utils.py
@@ -147,6 +147,7 @@ def dir_exists(folder, nzo_id):
if len(dir_list) < 2 and nzo_id is None:
# Clean out a failed SABnzbd folder removal
shutil.rmtree(folder)
+ xbmc.log('Pneumatic removed empty incomplete folder %s' % folder)
return False
return True
else:

0 comments on commit 1cd1555

Please sign in to comment.