Don't fail on unknown link types.

This commit is contained in:
Sergio Martínez Portela 2022-08-19 19:30:55 +02:00
parent 3bf1a86c31
commit 5a9fbfb253

View File

@ -138,7 +138,7 @@ def main(src_top, dest_top):
elif l.value.startswith('./'):
pass # TODO: Properly handle
else:
raise NotImplementedError('On document {}, link to {}'.format(doc.path, l.value))
logging.warning('On document {}, unknown link to {}'.format(doc.path, l.value))
if headline.parent:
if isinstance(headline.parent, org_rw.Headline):