Merge branch 'master' of http://git.dd:3000/AppStd/Modules
This commit is contained in:
commit
a3e1d34a7a
@ -169,8 +169,11 @@ Public Class PDFEmbeds
|
|||||||
Dim oExtension As String = oFileInfo.Extension
|
Dim oExtension As String = oFileInfo.Extension
|
||||||
|
|
||||||
If String.IsNullOrWhiteSpace(oExtension) Then
|
If String.IsNullOrWhiteSpace(oExtension) Then
|
||||||
Logger.Error("The embedded file [{0}] does not have any extension. Skipping.")
|
Logger.Error("The embedded file [{0}] does not have any extension. Skipping.", oFileName)
|
||||||
Continue For
|
Continue For
|
||||||
|
Else
|
||||||
|
' Jetzt wissen wir, das es eine Extension gibt!
|
||||||
|
oExtension = oFileInfo.Extension.ToUpper.Substring(1)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If pExtensions.Contains(oExtension) Then
|
If pExtensions.Contains(oExtension) Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user