fix json error
This commit is contained in:
parent
03e3ec5490
commit
9341492a8a
|
@ -1,10 +1,11 @@
|
||||||
import json
|
import simplejson as json
|
||||||
import math
|
import math
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from flask import make_response
|
from flask import make_response
|
||||||
|
|
||||||
|
|
||||||
def resolve_path(*p: str):
|
def resolve_path(*p: str):
|
||||||
return Path(*p).expanduser().resolve().absolute()
|
return Path(*p).expanduser().resolve().absolute()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue