Ensure app is found in the right directory

This commit is contained in:
Gavan Fantom
2021-12-02 14:21:35 +00:00
parent 177bac2dbe
commit ad56b295bf

View File

@@ -1,4 +1,9 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import sys
from os import path
sys.path.insert(0, path.abspath(path.dirname(__file__)))
from jlcchart import create_app from jlcchart import create_app
application = create_app() application = create_app()