chg: dev: entry point and module import

This commit is contained in:
rachmadaniHaryono 2018-03-24 08:09:48 +08:00
parent cacd4d3ef8
commit 00f7036a17
2 changed files with 6 additions and 4 deletions

5
bukuserver/__main__.py Normal file
View File

@ -0,0 +1,5 @@
from . import server
if __name__ == "__main__":
server.cli()

View File

@ -7,10 +7,7 @@ from flask_bootstrap import Bootstrap
import click
import flask
try:
import response
except ModuleNotFoundError:
from . import response
from . import response
def get_tags():
"""get tags."""