mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +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:
parent
a8564f3991
commit
27128c7c18
@ -33,6 +33,8 @@ class Capturing(list):
|
|||||||
|
|
||||||
class Rendering:
|
class Rendering:
|
||||||
def __init__(self, success, title, is_parent, args, kwargs):
|
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
|
self.dynamic_feed = bench.cli.from_command_line and bench.cli.dynamic_feed
|
||||||
|
|
||||||
if not self.dynamic_feed:
|
if not self.dynamic_feed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user