소스 검색

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}")


불러오는 중...
취소
저장