mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
[formatter] enclose f-strings with """ instead of '''
This commit is contained in:
parent
baf41d7437
commit
11df3a021d
@ -226,7 +226,7 @@ class FStringFormatter():
|
||||
"""Generate text by evaluating an f-string literal"""
|
||||
|
||||
def __init__(self, fstring, default=NONE, fmt=None):
|
||||
self.format_map = util.compile_expression("f'''" + fstring + "'''")
|
||||
self.format_map = util.compile_expression('f"""' + fstring + '"""')
|
||||
|
||||
|
||||
def parse_field_name(field_name):
|
||||
|
Loading…
Reference in New Issue
Block a user