Revision 945 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/discours/importer.groovy

importer.groovy (revision 945)
98 98
				println "Error: could not create a copy of metadata file "+csvfile.getAbsoluteFile();
99 99
				return;
100 100
			}
101
			metadatas = new Metadatas(copy, Toolbox.getPreference(TBXPreferences.METADATA_ENCODING), Toolbox.getPreference(Toolbox.METADATA_COLSEPARATOR), Toolbox.getPreference(Toolbox.METADATA_TXTSEPARATOR), 1)
101
			metadatas = new Metadatas(copy, Toolbox.getMetadataEncoding(), 
102
		Toolbox.getMetadataColumnSeparator(), 
103
		Toolbox.getMetadataTextSeparator(), 1)
102 104
		} else {
103 105
			println "No metadata file: "+csvfile
104 106
			println "Aborting"

Also available in: Unified diff