diff --git a/src/pretix/base/channels.py b/src/pretix/base/channels.py index 2eaebc3a9..c4f200496 100644 --- a/src/pretix/base/channels.py +++ b/src/pretix/base/channels.py @@ -111,7 +111,7 @@ def get_all_sales_channels(): channels.append(ret) channels.sort(key=lambda c: c.identifier) _ALL_CHANNELS = OrderedDict([(c.identifier, c) for c in channels]) - if ('web' in _ALL_CHANNELS): + if 'web' in _ALL_CHANNELS: _ALL_CHANNELS.move_to_end('web', last=False) return _ALL_CHANNELS