Improve path detection.

master
blallo 2019-08-08 15:29:45 +02:00 committed by blallo
parent 6c16cbb590
commit 969e0b1ae7
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ from api import BASE_URI, DEBUG
alog = logging.getLogger("api")
routes = web.RouteTableDef()
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(