mirror of https://gitlab.com/litecord/litecord.git
lvsp_manager: handle no region case
This commit is contained in:
parent
9d853f0bda
commit
42cd0ae12c
|
|
@ -46,6 +46,10 @@ class LVSPManager:
|
||||||
WHERE deprecated = false
|
WHERE deprecated = false
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
if not regions:
|
||||||
|
log.warning('no regions are setup')
|
||||||
|
return
|
||||||
|
|
||||||
for region in regions:
|
for region in regions:
|
||||||
self.app.loop.create_task(
|
self.app.loop.create_task(
|
||||||
self._spawn_region(region)
|
self._spawn_region(region)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue