'Deletes all directories in the torrent collecting directory.'

def _delete_all_directories(self):

    self.status_update_func(u'Checking    all    directories    in    torrent    collecting    directory...')
    for (root, dirs, files) in os.walk(self.torrent_collecting_dir):
        for d in dirs:
            dir_path = os.path.join(root, d)
            rmtree(dir_path, ignore_errors=True)
