Browse Source

Different log level

pull/3771/head
Ruud 11 years ago
parent
commit
accf19bb26
  1. 2
      couchpotato/core/plugins/base.py
  2. 2
      couchpotato/core/plugins/renamer.py

2
couchpotato/core/plugins/base.py

@ -157,7 +157,7 @@ class Plugin(object):
os.rmdir(full_path)
except:
if show_error:
log.error('Couldn\'t remove empty directory %s: %s', (full_path, traceback.format_exc()))
log.info2('Couldn\'t remove directory %s: %s', (full_path, traceback.format_exc()))
try:
os.rmdir(folder)

2
couchpotato/core/plugins/renamer.py

@ -807,7 +807,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
if os.name == 'nt' and self.conf('ntfs_permission'):
os.popen('icacls "' + dest + '"* /reset /T')
except:
log.error('Failed setting permissions for file: %s, %s', (dest, traceback.format_exc(1)))
log.debug('Failed setting permissions for file: %s, %s', (dest, traceback.format_exc(1)))
except:
log.error('Couldn\'t move file "%s" to "%s": %s', (old, dest, traceback.format_exc()))
raise

Loading…
Cancel
Save