Commit 2a0dee34 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

blueprint: add a safety belt when there are no services

We just show something rather than crashing.
parent f5cdd261d6a8
......@@ -367,6 +367,8 @@ def reworkui(engine,
def home():
domains = alldomains(engine)
if not len(domains):
return 'No operation registered: nothing to see here'
h = HTML()
firstdomain = initialdomain(domains)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment