Message355255
This is because you're trying to use the string's delimiting character (') in the string itself, which won't work for fairly apparent reasons :). Try removing the `f` prefix and see what happens.
You can get around this by using a triple-quoted string which will allow you to use both quote characters within the string:
>>> blah = '"hi"'
>>> f'''{blah.strip('"')}'''
'hi' |
|
Date |
User |
Action |
Args |
2019-10-23 19:17:37 | zach.ware | set | recipients:
+ zach.ware, yingw787 |
2019-10-23 19:17:37 | zach.ware | set | messageid: <1571858257.5.0.131067128933.issue38568@roundup.psfhosted.org> |
2019-10-23 19:17:37 | zach.ware | link | issue38568 messages |
2019-10-23 19:17:37 | zach.ware | create | |
|