Moved ujson to required dependencies
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
try:
|
||||
from ujson import JSONDecodeError as JSONDecodeError
|
||||
from ujson import loads, dumps
|
||||
except ModuleNotFoundError:
|
||||
from json import JSONDecodeError as JSONDecodeError
|
||||
from json import loads, dumps
|
||||
|
||||
from sys import exit
|
||||
from os import sep, kill
|
||||
from os import kill
|
||||
from os import name as osname
|
||||
from os import sep
|
||||
from sys import exit
|
||||
from traceback import print_exc
|
||||
from typing import Any
|
||||
|
||||
from ujson import JSONDecodeError, dumps, loads
|
||||
|
||||
from modules.logger import logWrite
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user