H1209 commited on
Commit
6e5db87
·
verified ·
1 Parent(s): b64073c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -396,7 +396,7 @@ def create_word_report():
396
 
397
 
398
  # Lưu file Word
399
- report_title = f"Bao_cao_Ty_Gia_va_Lai_Suat_Tuan_{data_fx.index.iloc(-5).strftime('%d/%m/%Y')}.docx"
400
  output_path = os.path.join(REPORT_FOLDER, report_title)
401
  doc.save(output_path)
402
  return output_path
 
396
 
397
 
398
  # Lưu file Word
399
+ report_title = f"Bao_cao_Ty_Gia_va_Lai_Suat_Tuan_{data_test3.index.max().strftime('%d/%m/%Y')}.docx"
400
  output_path = os.path.join(REPORT_FOLDER, report_title)
401
  doc.save(output_path)
402
  return output_path