We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c27db4 commit e12148aCopy full SHA for e12148a
1 file changed
src/index.py
@@ -1,6 +1,7 @@
1
""" SmartAPI Entry Point """
2
3
import logging
4
+from os.path import exists
5
6
from threading import Thread
7
@@ -20,7 +21,7 @@ def run_routine():
20
21
22
class WebAppHandler(RequestHandler):
23
def get(self):
- if os.path.exists("../web-app/dist/index.html"):
24
+ if exists("../web-app/dist/index.html"):
25
self.render("../web-app/dist/index.html")
26
27
0 commit comments