Commit e4bfca60 authored by Guillaume Seguin's avatar Guillaume Seguin

Move server/ to printrun/server and update prontserver.py accordingly

parent 2bdf9fe0
...@@ -20,7 +20,7 @@ from pprint import pprint ...@@ -20,7 +20,7 @@ from pprint import pprint
import printcore import printcore
from printrun import gcoder from printrun import gcoder
import pronsole import pronsole
from server import basic_auth from printrun.server import basic_auth
import random import random
import json import json
import textwrap import textwrap
...@@ -299,8 +299,8 @@ class ConstructSocketHandler(tornado.websocket.WebSocketHandler): ...@@ -299,8 +299,8 @@ class ConstructSocketHandler(tornado.websocket.WebSocketHandler):
dir = os.path.dirname(__file__) dir = os.path.dirname(__file__)
settings = dict( settings = dict(
template_path=os.path.join(dir, "server", "templates"), template_path=os.path.join(dir, "printrun", "server", "templates"),
static_path=os.path.join(dir, "server", "static"), static_path=os.path.join(dir, "printrun", "server", "static"),
debug=True debug=True
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment