mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-06 18:54:38 -05:00
Remove CSV utils
These are in the utils repo since https://github.com/alphagov/notifications-utils/releases/tag/0.2.1
This commit is contained in:
12
app/csv.py
12
app/csv.py
@@ -1,12 +0,0 @@
|
||||
import csv
|
||||
|
||||
|
||||
def get_recipient_from_csv(file_data):
|
||||
numbers = []
|
||||
reader = csv.DictReader(
|
||||
file_data.splitlines(),
|
||||
lineterminator='\n',
|
||||
quoting=csv.QUOTE_NONE)
|
||||
for i, row in enumerate(reader):
|
||||
numbers.append(row['to'].replace(' ', ''))
|
||||
return numbers
|
||||
Reference in New Issue
Block a user