diff options
Diffstat (limited to 'Doc/includes/email-simple.py')
-rw-r--r-- | Doc/includes/email-simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py index f69ef40ff0..07dc30fd06 100644 --- a/Doc/includes/email-simple.py +++ b/Doc/includes/email-simple.py @@ -12,7 +12,7 @@ with open(textfile) as fp: # me == the sender's email address # you == the recipient's email address -msg['Subject'] = 'The contents of %s' % textfile +msg['Subject'] = f'The contents of {textfile}' msg['From'] = me msg['To'] = you |