fix import path.

This commit is contained in:
hhstore 2017-02-20 17:57:15 +08:00
parent 9c306899ba
commit 26c9618e63

View File

@ -2,7 +2,7 @@ from argparse import ArgumentParser
from importlib import import_module from importlib import import_module
from sanic.log import log from sanic.log import log
from sanic.sanic import Sanic from sanic.app import Sanic
if __name__ == "__main__": if __name__ == "__main__":
parser = ArgumentParser(prog='sanic') parser = ArgumentParser(prog='sanic')