Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(
|
|
51 |
|
52 |
# === Controle do CSV ativo ===
|
53 |
def get_active_csv_path():
|
54 |
-
"""Retorna o CSV ativo: o carregado ou o padrão
|
55 |
if os.path.exists(UPLOADED_CSV_PATH):
|
56 |
logging.info(f"[CSV] Usando arquivo CSV carregado: {UPLOADED_CSV_PATH}")
|
57 |
return UPLOADED_CSV_PATH
|
|
|
51 |
|
52 |
# === Controle do CSV ativo ===
|
53 |
def get_active_csv_path():
|
54 |
+
"""Retorna o CSV ativo: o carregado ou o padrão.."""
|
55 |
if os.path.exists(UPLOADED_CSV_PATH):
|
56 |
logging.info(f"[CSV] Usando arquivo CSV carregado: {UPLOADED_CSV_PATH}")
|
57 |
return UPLOADED_CSV_PATH
|