fix import error

This commit is contained in:
lizheao 2017-08-31 10:09:43 +08:00
parent fdc877c66d
commit 911e99ba4b

View File

@ -4,7 +4,7 @@ from os import path
try: try:
from ujson import dumps as json_dumps from ujson import dumps as json_dumps
except: except:
from json import dumps as jjson_dumps from json import dumps as json_dumps
finally: finally:
from json import dumps as jjson_dumps from json import dumps as jjson_dumps
from aiofiles import open as open_async from aiofiles import open as open_async