浏览代码

Speed: remove some print statements

microtasks
tech234a 3 年前
父节点
当前提交
279e91105d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tracker.py

+ 2
- 2
tracker.py 查看文件

@@ -69,10 +69,10 @@ def add_item_to_tracker(item_type: ItemType, item_id: str) -> bool:
code = req.status_code

if code == 200:
print(f"[INFO] Item ID \'{item_name}\' added to tracker successfully")
# print(f"[INFO] Item ID \'{item_name}\' added to tracker successfully")
return True
elif code == 409:
print(f"[INFO] Item ID \'{item_name}\' has already been added to tracker")
# print(f"[INFO] Item ID \'{item_name}\' has already been added to tracker")
return True
elif code == 404:
print(f"[ERROR] Unable to add item ID \'{item_name}\' to tracker. Project backfeed channel not found: {BACKFEED_ENDPOINT}")


正在加载...
取消
保存