Removed duplicate string function call

attachment-template-support
Glenn Wilkinson 2020-12-07 22:18:25 +01:00
parent 0b73100e00
commit da5a82ef4b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func (a *Attachment) ApplyTemplate(ptx PhishingTemplateContext) (io.Reader, erro
if err != nil {
return nil, err
}
if processedAttachment == string(string(b)) {
if processedAttachment == string(b) {
a.vanillaFile = true
}
return strings.NewReader(processedAttachment), nil