diff --git a/main.py b/main.py index 6490b29..dc09da5 100644 --- a/main.py +++ b/main.py @@ -22,6 +22,7 @@ EbdCrossReferenceNotSupportedError, EndeInWrongColumnError, NotExactlyTwoOutgoingEdgesError, + OutcomeCodeAmbiguousError, PathsNotGreaterThanOneError, ) from ebdtable2graph.plantuml import GraphTooComplexForPlantumlError @@ -122,7 +123,7 @@ def handle_known_error(error: Exception, ebd_key: str) -> None: click.secho(f"💾 Successfully exported '{ebd_key}.json'") try: ebd_graph = convert_table_to_graph(ebd_table) - except (EbdCrossReferenceNotSupportedError, EndeInWrongColumnError) as known_issue: + except (EbdCrossReferenceNotSupportedError, EndeInWrongColumnError, OutcomeCodeAmbiguousError) as known_issue: handle_known_error(known_issue, ebd_key) continue except Exception as unknown_error: # pylint:disable=broad-except diff --git a/pyproject.toml b/pyproject.toml index 8f9a515..e56181d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", ] dependencies = [ - "ebdtable2graph>=0.1.18", + "ebdtable2graph>=0.1.19", "python-docx", "more_itertools", "attrs", diff --git a/requirements.in b/requirements.in index df59ef8..38d9db3 100644 --- a/requirements.in +++ b/requirements.in @@ -1,4 +1,4 @@ -ebdtable2graph>=0.1.18 +ebdtable2graph>=0.1.19 python-docx more_itertools attrs diff --git a/requirements.txt b/requirements.txt index 498cf06..bbda981 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ charset-normalizer==2.1.1 # via requests click==8.1.7 # via -r requirements.in -ebdtable2graph==0.1.18 +ebdtable2graph==0.1.19 # via -r requirements.in idna==3.4 # via requests