diff --git a/gallery_dl/formatter.py b/gallery_dl/formatter.py index 3e5b3cd3..2c5bd116 100644 --- a/gallery_dl/formatter.py +++ b/gallery_dl/formatter.py @@ -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):