def dirscan():
 logging.info('Scheduled or manual watched folder scan')
 DirScanner.do.scan()

def dirscan ( ) : logging . info ( 'Scheduled or manual watched folder scan' ) DirScanner . do . scan ( )
wrapper required for scheduler .