sound_monitor: filesystem monitoring using watchdog

This commit is contained in:
bkfox
2015-12-29 12:05:59 +01:00
parent 2445690da3
commit d70593a461
7 changed files with 257 additions and 104 deletions

View File

@ -104,10 +104,10 @@ class Sound:
]
if self.good:
logger.info(self.path + ': good samples:\033[92m%s\033[0m',
logger.info(self.path + ' -> good: \033[92m%s\033[0m',
', '.join(view(self.good)))
if self.bad:
logger.info(self.path + ': good samples:\033[91m%s\033[0m',
logger.info(self.path + ' -> bad: \033[91m%s\033[0m',
', '.join(view(self.bad)))
class Command (BaseCommand):