bomolopuu commited on
Commit
6ff00e7
·
1 Parent(s): 48dfeff
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ def download_csv():
18
  logger.error(f"file {file_path} not found!")
19
  full_path = "/home/user/app/"+ file_path
20
  exist_full_path = os.path.exists(full_path)
21
- logger.error(f"file {exist_full_path} {"found" if exist_full_path else "not found"}!")
 
22
  return None # Возвращаем None, если файла нет
23
 
24
  # Prepare language options for Dropdown
 
18
  logger.error(f"file {file_path} not found!")
19
  full_path = "/home/user/app/"+ file_path
20
  exist_full_path = os.path.exists(full_path)
21
+ res = "found" if exist_full_path else "not found"
22
+ logger.error(f"file {exist_full_path} {res}!")
23
  return None # Возвращаем None, если файла нет
24
 
25
  # Prepare language options for Dropdown