mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Remove set-to-string conversion from upload code
Also changes the allowed_spreadsheet_file_extensions variable to allowed_file_extensions for consistency.
This commit is contained in:
@@ -291,7 +291,7 @@ def id_safe(string):
|
||||
|
||||
class Spreadsheet():
|
||||
|
||||
ALLOWED_FILE_EXTENSIONS = {'csv', 'xlsx', 'xls', 'ods', 'xlsm', 'tsv'}
|
||||
ALLOWED_FILE_EXTENSIONS = ('csv', 'xlsx', 'xls', 'ods', 'xlsm', 'tsv')
|
||||
|
||||
def __init__(self, csv_data=None, rows=None, filename=''):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user