From e14b9dfce5085a2d4c7a3e9fdb36e5353a5cee37 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 Aug 2022 11:37:48 -0400 Subject: [PATCH] bugfix --- sqlor/filter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sqlor/filter.py b/sqlor/filter.py index 9c85508..6a10cd8 100755 --- a/sqlor/filter.py +++ b/sqlor/filter.py @@ -28,7 +28,10 @@ ] } """ -import ujson as json +try: + import ujson as json +except: + import json class DBFilter(object): def __init__(self,filterjson):