mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 06:46:05 +01:00
a unified docker image
This commit is contained in:
@@ -42,7 +42,7 @@ class ChooseGatewayViewSet(RetrieveModelMixin, GenericViewSet):
|
||||
gateways = list(self.queryset)
|
||||
random.shuffle(gateways)
|
||||
if not len(gateways):
|
||||
raise NotFound()
|
||||
raise NoGatewaysError()
|
||||
|
||||
loop = asyncio.new_event_loop()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user