From c8205e485decf56ab47947a950ae84581efb5749 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Wed, 23 Mar 2022 17:04:37 +0100 Subject: [PATCH] fix: support single required app --- bench/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bench/app.py b/bench/app.py index f8c1ba22..2df62aaa 100755 --- a/bench/app.py +++ b/bench/app.py @@ -282,6 +282,10 @@ def setup_app_dependencies( lines = [x for x in f.read().split("\n") if x.strip().startswith("required_apps")] if lines: required_apps = eval(lines[0].strip("required_apps").strip().lstrip("=").strip()) + + if isinstance(required_apps, str): + required_apps = [required_apps] + # TODO: when the time comes, add version check here for app in required_apps: if app not in Bench(bench_path).apps: