From 27128c7c18f7df694344305460eacb358df6ef35 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Sat, 20 Nov 2021 06:16:19 +0530 Subject: [PATCH] fix: Import bench.cli For whatever reason, Travis complained saying "AttributeError: module 'bench' has no attribute 'cli'" but works fine locally :') --- bench/utils/render.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bench/utils/render.py b/bench/utils/render.py index 9c862b4b..b0ca6a19 100644 --- a/bench/utils/render.py +++ b/bench/utils/render.py @@ -33,6 +33,8 @@ class Capturing(list): class Rendering: def __init__(self, success, title, is_parent, args, kwargs): + import bench.cli + self.dynamic_feed = bench.cli.from_command_line and bench.cli.dynamic_feed if not self.dynamic_feed: