Example #1
0
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
import sys
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_DIR)

from src import service

if __name__ == '__main__':

    service.main()
Example #2
0
from __future__ import absolute_import

from src.service import main  # type: ignore

if __name__ == '__main__':
    main()