提交 2fddee30 编写于 作者: L Lei Wang 提交者: Jiangtao Hu

OTA: fix car info db update.

上级 ca9dd4de
......@@ -25,6 +25,9 @@ import common.proto_utils as proto_utils
def update():
# setup server url
config = ConfigParser()
CONFIG_FILE = os.path.join(os.path.dirname(__file__), 'config.ini')
config.read(CONFIG_FILE)
ip = config.get('Host', 'ip')
port = config.get('Host', 'port')
url = 'http://' + ip + ':' + port + '/update'
......
......@@ -17,7 +17,6 @@
###############################################################################
APOLLO_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
source ${APOLLO_ROOT}/scripts/apollo_base.sh
function update() {
UPDATE_TAG=$(python ${APOLLO_ROOT}/modules/tools/ota/query_client.py)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册