Skip to content

Commit

Permalink
Fixed a bug sending emails after successful video creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fgerthoffert committed Nov 8, 2016
1 parent d384e11 commit cf8e2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webcampak/core/video/wpakVideoEmails.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def sendVideoSuccess(self, videoFilename):
emailSubject = emailSubject.replace("#VIDEOFILENAME#", videoFilename)
newEmail = emailObj(self.log, self.dirEmails, self.fileUtils)
newEmail.setFrom({'email': self.configGeneral.getConfig('cfgemailsendfrom')})
db = dbUtils(self.captureClass)
db = dbUtils(self.videoClass)
newEmail.setTo(db.getSourceEmailUsers(self.currentSourceId))
db.closeDb()
newEmail.setBody(emailContent)
Expand Down

0 comments on commit cf8e2a3

Please sign in to comment.