Просмотр исходного кода

cache yaml faulty path fixed.

Signed-off-by: Nicholas Tan Jerome <nicholas.jerome@kit.edu>
Nicholas Tan Jerome 6 лет назад
Родитель
Сommit
c4b73123c1
1 измененных файлов с 1 добавлено и 1 удалено
  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: