had to change delimiter in sim state
This commit is contained in:
@@ -93,7 +93,7 @@ with open(FILE2, newline='', encoding="utf-8") as csvfile2:
|
||||
imsi2 = int(row['IMSI'])
|
||||
iccid2 = int(row['ICCID'])
|
||||
msisdn = int(row['MSISDN'])
|
||||
simstate = (row['SIM State'])
|
||||
simstate = (row['SIM_State'])
|
||||
|
||||
if iccid2 in dict_by_iccid:
|
||||
print("iccid: ", iccid2, " already exists, doing the math")
|
||||
@@ -193,8 +193,8 @@ with open('output_VFGDSP_' + ext_date_from_filaname, 'w', newline='') as csv_fil
|
||||
csv_file4.close()
|
||||
|
||||
|
||||
with open("output_VFGDSP_202202.csv", "rb") as f:
|
||||
webhook.add_file(file=f.read(), filename='output_VFGDSP_202202.csv')
|
||||
with open('output_VFGDSP_'+ext_date_from_filaname, "rb") as f:
|
||||
webhook.add_file(file=f.read(), filename='output_VFGDSP_'+ext_date_from_filaname)
|
||||
|
||||
response = webhook.execute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user