mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
6ddac37855
commit
cfad6bcf39
@ -3386,7 +3386,7 @@ See also the functions :ref:`make_url`, :ref:`make_url_extended` and :ref:`encod
|
|||||||
raise ValueError(
|
raise ValueError(
|
||||||
_('In {} the third argument of a group must be 0, 1, or 2, not {}').format('query_string', f))
|
_('In {} the third argument of a group must be 0, 1, or 2, not {}').format('query_string', f))
|
||||||
query_args.append(f'{args[i]}={funcs[int(f)](args[i+1].strip())}')
|
query_args.append(f'{args[i]}={funcs[int(f)](args[i+1].strip())}')
|
||||||
return "&".join(query_args)
|
return '&'.join(query_args)
|
||||||
|
|
||||||
|
|
||||||
class BuiltinEncodeForURL(BuiltinFormatterFunction):
|
class BuiltinEncodeForURL(BuiltinFormatterFunction):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user