Use absolute path for importing modules

This commit is contained in:
Sheng
2018-04-26 22:38:03 +08:00
parent f78588bcc1
commit ffb776ca6c
9 changed files with 20 additions and 18 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ import tornado.web
import tornado.ioloop
from tornado.options import parse_command_line, options
from handler import IndexHandler, WsockHandler
from settings import (get_app_settings, get_host_keys_settings,
get_policy_setting)
from webssh.handler import IndexHandler, WsockHandler
from webssh.settings import (get_app_settings, get_host_keys_settings,
get_policy_setting)
def make_handlers(loop, options):