Improve path detection.
This commit is contained in:
parent
6c16cbb590
commit
969e0b1ae7
|
@ -21,7 +21,7 @@ from api import BASE_URI, DEBUG
|
||||||
alog = logging.getLogger("api")
|
alog = logging.getLogger("api")
|
||||||
routes = web.RouteTableDef()
|
routes = web.RouteTableDef()
|
||||||
OPERATORS = {} # type: T.Dict[T.Text, AsyncOperator]
|
OPERATORS = {} # type: T.Dict[T.Text, AsyncOperator]
|
||||||
BASE_PATH = pkg_resources.resource_filename("api", "assets")
|
BASE_PATH = pkg_resources.resource_filename(__name__, "assets")
|
||||||
|
|
||||||
|
|
||||||
async def get_set_operator(
|
async def get_set_operator(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user