Browse Source

cache yaml faulty path fixed.

Signed-off-by: Nicholas Tan Jerome <nicholas.jerome@kit.edu>
Nicholas Tan Jerome 6 years ago
parent
commit
c4b73123c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core.py

+ 1 - 1
core.py

@@ -246,7 +246,7 @@ class StatusHandler(tornado.web.RequestHandler):
 
         if not os.path.isfile("./bora/cache.yaml"): 
             print "BORA is loading data, please refresh the page again in a moment."
-            open("cache.yaml","w")
+            open("./bora/cache.yaml","w")
 
         with open("./bora/cache.yaml", 'r') as vstream:
             try: