Update src/pretix/base/channels.py

This commit is contained in:
Raphael Michel
2023-11-09 10:09:07 +01:00
committed by GitHub
parent a24a36b1e7
commit 8957ed929a
+1 -1
View File
@@ -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