Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzfb committed Sep 8, 2024
1 parent cd3c990 commit 5debfa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions antgo/pipeline/functional/mixins/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,8 @@ def build(self, platform='android/arm64-v8a', output_folder='./deploy', project_
return
config_info = {
"pipeline_name": pipeline_name,
'server_mode': call_mode
'server_mode': call_mode,
'data_mode': project_config.get('data_mode', '')
}
if 'config' in project_config:
config_info.update(project_config['config'])
Expand Down Expand Up @@ -2474,7 +2475,7 @@ def build(self, platform='android/arm64-v8a', output_folder='./deploy', project_
if os.path.exists(os.path.join(output_folder, 'config', 'plugin_config.json')):
with open(os.path.join(output_folder, 'config', 'plugin_config.json'), 'r') as fp:
plugin_config_info = json.load(fp)

if pipeline_name not in plugin_config_info:
plugin_config_info[pipeline_name] = {}
plugin_config_info[pipeline_name].update(
Expand Down

0 comments on commit 5debfa3

Please sign in to comment.