diff --git a/ai/utils/show_process.py b/ai/utils/show_process.py index aa9f5fc..d766dd5 100644 --- a/ai/utils/show_process.py +++ b/ai/utils/show_process.py @@ -30,6 +30,9 @@ def show_main_process(): # 获取排片数据 _show = next((s for s in result.split('------') if s.startswith('\n影厅别名,影厅id')), '') _show = _show.strip() + if _show == '': + _show = next((s for s in result.split('------') if s.startswith('\n```csv\n影厅别名,')), '') + _show = _show.replace('```', '').replace('csv', '').strip() print('_show:', _show) # 获取销售额 _sales = next((s for s in result.split('\n') if re.search('预估销售数据', s)), '')