diff --git a/vdgdsp_final.py b/vdgdsp_final.py index b5cb300..673efcb 100644 --- a/vdgdsp_final.py +++ b/vdgdsp_final.py @@ -2,7 +2,6 @@ import csv import os import platform import sys -import pandas as pd from discord_webhook import DiscordWebhook @@ -195,12 +194,9 @@ csv_file4.close() -read_file = pd.read_csv (r'output_VFGDSP_202202.CSV') -read_file.to_excel (r'output_VFGDSP_202202.xlsx', index = None, header=True,sheet_name='pocty',) - -with open("output_VFGDSP_202202.xlsx", "rb") as f: - webhook.add_file(file=f.read(), filename='output_VFGDSP_202202.xlsx') +with open("output_VFGDSP_202202.csv", "rb") as f: + webhook.add_file(file=f.read(), filename='output_VFGDSP_202202.csv') response = webhook.execute()