fix build
Browse files
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 |
-
|
|
|
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
|