removing unnecessary ujson import
This commit is contained in:
parent
fbc77c1f28
commit
66b1eac1db
@ -17,16 +17,9 @@ from freqtrade import misc, constants, OperationalException
|
||||
from freqtrade.exchange import Exchange
|
||||
from freqtrade.arguments import TimeRange
|
||||
import importlib
|
||||
ujson_found = importlib.util.find_spec("ujson")
|
||||
if ujson_found is not None:
|
||||
import ujson
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
if ujson_found is not None:
|
||||
logger.debug('Loaded UltraJson ujson in optimize.py')
|
||||
|
||||
|
||||
def json_load(data):
|
||||
"""Try to load data with ujson"""
|
||||
if _UJSON:
|
||||
|
Loading…
Reference in New Issue
Block a user