[content_id] = content_ids
local_course_root = fs.WinPath(cfg_section['base_path'])
+ local_course_root.mkdir(parents = True, exist_ok = True)
meta_path = local_course_root.get_ads(fs.BB_META_STREAM_NAME)
if meta_path.is_file():
with meta_path.open() as f:
# versions match
pass
elif isinstance(result, Result.MultipleLatest):
- log(
- 'error',
- "Identified multiple latest versions for {id}: {fileName}".format(**attachment_doc),
- indent = 2,
- )
+ log('error', "Identified multiple latest versions!", indent = 2)
log(
'error',
"To allow the program to check this attachment, delete all or all but one of these files:",