Compare commits

..

2 Commits

Author SHA1 Message Date
mw 6c837f4ff8 bump version 3 years ago
mw 1c762cfac6 fix mail encoding 3 years ago
  1. 2
      example_configs/pmml_deployment.yml
  2. 2
      pmml.py

@ -16,7 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: pmml - name: pmml
image: torarg/pmml:0.1.6 image: torarg/pmml:0.1.7
volumeMounts: volumeMounts:
- mountPath: "/.pmmlrc" - mountPath: "/.pmmlrc"
subPath: ".pmmlrc" subPath: ".pmmlrc"

@ -43,7 +43,7 @@ def cli(config_file, mailing_list_address):
config["smtp_pass"], config["smtp_pass"],
) )
smtp_client.sendmail( smtp_client.sendmail(
mailing_list_address, config["recipients"], msg.as_string() mailing_list_address, config["recipients"], msg.as_string().encode('utf-8')
) )
smtp_client.quit() smtp_client.quit()

Loading…
Cancel
Save