Commit 8cc6477b857a2157dd2fa67b671878847bcea795
1 parent
a1f370ee
offline tasks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
offline_tasks/scripts/i2i_swing.py
| @@ -341,7 +341,7 @@ def main(): | @@ -341,7 +341,7 @@ def main(): | ||
| 341 | # item_name_map的key已经是str类型,可以直接更新 | 341 | # item_name_map的key已经是str类型,可以直接更新 |
| 342 | name_mappings['item'].update(item_name_map) | 342 | name_mappings['item'].update(item_name_map) |
| 343 | 343 | ||
| 344 | - if debug: | 344 | + if args.debug: |
| 345 | logger.debug(f"name_mappings['item']共有 {len(name_mappings['item'])} 个商品名称") | 345 | logger.debug(f"name_mappings['item']共有 {len(name_mappings['item'])} 个商品名称") |
| 346 | 346 | ||
| 347 | index_data = {} | 347 | index_data = {} |