Skip to content
Snippets Groups Projects
Commit 7998f662 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

Merge branch 'master' of sissource.ethz.ch:sispub/openbis into master

parents 0d81ad66 858c5464
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -61,7 +61,6 @@ def process(context, parameters): ...@@ -61,7 +61,6 @@ def process(context, parameters):
temp = singleFile temp = singleFile
tempPath = singleFile.getAbsolutePath() tempPath = singleFile.getAbsolutePath()
byteArrays = MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xls") byteArrays = MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xls")
byteArrays.addAll(MasterDataRegistrationHelper.getByteArrays(Path.of(tempPath), ".xlsx"))
if len(byteArrays) == 0: if len(byteArrays) == 0:
raise UserFailureException('No .xls or .xlsx fields found. These should be on the root folder of the zip file.') raise UserFailureException('No .xls or .xlsx fields found. These should be on the root folder of the zip file.')
parameters.put('xls', byteArrays) parameters.put('xls', byteArrays)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment