MarioPrzBasto commited on
Commit
d40f002
·
verified ·
1 Parent(s): a691572

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -231,6 +231,7 @@ async def list_similar_files():
231
  async def search_file(search: str):
232
  try:
233
  for filename in os.listdir(BASE_DIR):
 
234
  if f"{search}" in filename and filename.endswith(".json"):
235
  filepath = os.path.join(BASE_DIR, filename)
236
  if os.path.isfile(filepath):
 
231
  async def search_file(search: str):
232
  try:
233
  for filename in os.listdir(BASE_DIR):
234
+ logging.info(f"Verificando ficheiro: {filename}")
235
  if f"{search}" in filename and filename.endswith(".json"):
236
  filepath = os.path.join(BASE_DIR, filename)
237
  if os.path.isfile(filepath):