diff --git a/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py b/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py index 990f5c00ef6084d704acd6ea5990b8cded5b6094..f4701403e38d03065b3097e9cf15199dcc1e6411 100644 --- a/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py +++ b/ui-admin/src/core-plugins/admin/1/as/services/xls-import/xls-import.py @@ -61,7 +61,6 @@ def process(context, parameters): temp = singleFile tempPath = singleFile.getAbsolutePath() byteArrays = MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xls") - byteArrays.addAll(MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xlsx")) if len(byteArrays) == 0: raise UserFailureException('No .xls or .xlsx fields found. These should be on the root folder of the zip file.') parameters.put('xls', byteArrays)