Skip to content

Commit 6ce04ae

Browse files
committed
🐛 (generation) Better dict
1 parent 3cf4c8a commit 6ce04ae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

som_generationkwh/investment.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1678,8 +1678,11 @@ def send_mail(self, cursor, uid, id, model, template, investment_id=None, contex
16781678
from_id = from_id,
16791679
).dump())
16801680
else:
1681-
params = {'state': 'single', 'priority': '0',
1682-
'from': ctx['from']}
1681+
params = {
1682+
'state': 'single',
1683+
'priority': '0',
1684+
'from': ctx['from']
1685+
}
16831686

16841687
poweremail_wizard_id = PoweremailSendWizard.create(cursor, uid, params, context=ctx)
16851688
PoweremailSendWizard.send_mail(cursor, uid, [poweremail_wizard_id], context=ctx)

0 commit comments

Comments
 (0)