Skip to content

Commit 0c4d6b8

Browse files
committed
fixup unit test failure
1 parent a644b57 commit 0c4d6b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intelmq/bots/outputs/smtp_batch/output.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99
from tempfile import NamedTemporaryFile
1010
import time
11-
from typing import Any, Generator, Optional
11+
from typing import Any, Generator, Optional, Dict
1212
import zipfile
1313
from base64 import b64decode
1414
from collections import OrderedDict
@@ -50,13 +50,13 @@ class Mail:
5050
to: str
5151
path: str
5252
count: int
53-
template_data: dict[str,Any]
53+
template_data: Dict[str,Any]
5454

5555

5656
class SMTPBatchOutputBot(Bot):
5757
# configurable parameters
5858
additional_grouping_keys: Optional[list] = [] # refers to the event directly
59-
templating: Optional[dict[str, bool]] = {'subject': False, 'body': False, 'attachment': False}
59+
templating: Optional[Dict[str, bool]] = {'subject': False, 'body': False, 'attachment': False}
6060
alternative_mails: Optional[str] = None
6161
bcc: Optional[list] = None
6262
email_from: str = ""

0 commit comments

Comments
 (0)