mirror of
https://github.com/pretix/pretix.git
synced 2026-08-07 10:17:49 +00:00
Update src/pretix/base/channels.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user