Skip to content

Commit

Permalink
Merge pull request #9 from ndaidong/v2.1.5
Browse files Browse the repository at this point in the history
Add ujson are required deps
  • Loading branch information
ndaidong committed Oct 16, 2020
2 parents 56abd63 + 0d8a651 commit 304a861
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 89 deletions.
1 change: 1 addition & 0 deletions .travis.yml
@@ -1,5 +1,6 @@
language: python
python:
- "3.7"
- "3.8"
install:
- pip install poetry
Expand Down
6 changes: 1 addition & 5 deletions bella/modules/utils.py
Expand Up @@ -8,11 +8,7 @@
from .logger import log
from .fs import exists


if find_spec('ujson') is not None:
import ujson as json
else:
import json
import ujson as json


def throttle(seconds: int):
Expand Down
195 changes: 112 additions & 83 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 304a861

Please sign in to comment.