From 4ddbbc0642acacf081419b6fa8479295503c5abc Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 29 Aug 2019 08:08:32 +1000 Subject: [PATCH] Return empty div if not file loaded --- daqviewer/daqviewer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daqviewer/daqviewer.py b/daqviewer/daqviewer.py index d822a73..8385886 100644 --- a/daqviewer/daqviewer.py +++ b/daqviewer/daqviewer.py @@ -164,6 +164,8 @@ def update_output(contents, names, dates): ] return children + else: + return [html.Div([])] def main():