Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
More info about uploaded files
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCoderCarl committed Oct 22, 2022
1 parent ee48632 commit ecadf05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def load_ids_from_files(file: Path) -> List[int]:
try:
with open(file, "r") as users_ids_file:
result = [int(u_ids) for u_ids in users_ids_file.read().split()]
logging.info("Uploaded ids from the file done successfully.")
logging.info(f"Uploaded ids from the {users_ids_file.name} done successfully.")
return result
except FileNotFoundError as file_not_found_err:
logging.error(file_not_found_err)
Expand All @@ -61,7 +61,7 @@ def load_responses_from_files(file: Path) -> str:
try:
with open(file, "r") as response_file:
result = response_file.read()
logging.info("Uploaded response from the file done successfully.")
logging.info(f"Uploaded response from the {response_file.name} done successfully.")
return result
except FileNotFoundError as file_not_found_err:
logging.error(file_not_found_err)
Expand Down

0 comments on commit ecadf05

Please sign in to comment.