This commit is contained in:
j 2014-08-09 23:40:13 +02:00
parent d2465539c8
commit bbb9832de6
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from __future__ import division, print_function
import os
import sys
from tornado.web import Application
from tornado.httpserver import HTTPServer
@ -59,7 +59,6 @@ def getMetadata(data):
actions.register(getMetadata)
def run():
root_dir = os.path.normpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..'))
options = {
'debug': True
@ -84,7 +83,7 @@ def run():
else:
host = address
url = 'http://%s:%s/' % (host, port)
print url
print(url)
main.start()
if __name__ == '__main__':