Skip to content

Commit

Permalink
build(orjson): ignore ModuleNotFound error
Browse files Browse the repository at this point in the history
Ignore `ModuleNotFound`error if `orjson` is not installed.
  • Loading branch information
hearot committed Jun 9, 2020
1 parent 1c44615 commit b80d942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrubrum/parameterized_base_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

try:
import orjson as json # noqa
except ImportError:
except (ImportError, ModuleNotFoundError):
import json


Expand Down

0 comments on commit b80d942

Please sign in to comment.