Skip to content

Commit

Permalink
init context
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcCalvoC committed Jul 9, 2024
1 parent 4e350a6 commit 3681d98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions poweremail_signaturit/poweremail_mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def update_poweremail_certificat_state(self, cursor, uid, ids, context=None):
# Actualitzarem l'estat de tots els mails que el seu certificat_state no sigui l'estat "get_email_opened_state"
# ni que siguin erronis (estat "email_bounced"). Si l'email ja l'ha obert el client la resta de la info no ens
# interessa i si el email esta en error tampoc ens interesa perque no es moura d'alla
if context is None:
context = {}
final_certificat_state = self.get_email_opened_state(cursor, uid)
db = pooler.get_db(cursor.dbname)
tmp_cursor = db.cursor()
Expand Down

0 comments on commit 3681d98

Please sign in to comment.