Skip to content

Commit

Permalink
Merge pull request #25 from bryant1410/patch-2
Browse files Browse the repository at this point in the history
Fix that the symbol `SpacyParser` is `None`
  • Loading branch information
vacancy committed Oct 8, 2023
2 parents 9e969be + 777c024 commit 44f1149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sng_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def register_backend(cls, backend):
cls._backend_registry[backend.__identifier__] = backend
except Exception as e:
raise ImportError('Unable to register backend: {}.'.format(backend.__name__)) from e
return backend


_default_parser = None
Expand Down

0 comments on commit 44f1149

Please sign in to comment.