2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-16 01:57:08 +00:00

fix: Import bench.cli

For whatever reason, Travis complained saying "AttributeError: module 'bench' has no attribute 'cli'" but works fine locally :')
This commit is contained in:
Gavin D'souza 2021-11-20 06:16:19 +05:30
parent a8564f3991
commit 27128c7c18

View File

@ -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: