Suren A. Chilingaryan 4 years ago
parent
commit
e8a12182f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -15,7 +15,7 @@ define("port", default=8080, help="run on the given port", type=int)
 
 
 PATH=os.path.dirname(os.path.abspath(__file__))
-static_path_dir = os.path.join(root, 'static/fossil')
+static_path_dir = os.path.join(PATH, 'static/fossil')
 data_path_dir = "/mnt/fossils"
 
 class MyHTMLParser(HTMLParser):