forked from CGM_Public/pretix_original
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