From 8957ed929a0512ae1df608ce8de4b4da04fea8b8 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 9 Nov 2023 10:09:07 +0100 Subject: [PATCH] Update src/pretix/base/channels.py --- src/pretix/base/channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/channels.py b/src/pretix/base/channels.py index 2eaebc3a96..c4f200496b 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