mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Refactor code quality issues (#2001)
This commit is contained in:
@@ -63,7 +63,7 @@ def eventurl(parser, token, absolute=False):
|
||||
asvar = bits[-1]
|
||||
bits = bits[:-2]
|
||||
|
||||
if len(bits):
|
||||
if bits:
|
||||
for bit in bits:
|
||||
match = kwarg_re.match(bit)
|
||||
if not match:
|
||||
|
||||
Reference in New Issue
Block a user