Fix initialization error if standalone is False
Does anybody even use this scenario anymore? We could remove quite some code if we only supported standalone operation.
This commit is contained in:
parent
9759d6eea5
commit
dcda1bb3a4
@ -50,7 +50,7 @@ class Status:
|
|||||||
|
|
||||||
def __init__(self, standalone=False, **kwargs):
|
def __init__(self, standalone=False, **kwargs):
|
||||||
self.standalone = standalone
|
self.standalone = standalone
|
||||||
self.click_events = kwargs.get("click_events", True)
|
self.click_events = kwargs.get("click_events", True if standalone else False)
|
||||||
interval = kwargs.get("interval", 1)
|
interval = kwargs.get("interval", 1)
|
||||||
input_stream = kwargs.get("input_stream", sys.stdin)
|
input_stream = kwargs.get("input_stream", sys.stdin)
|
||||||
if "logfile" in kwargs:
|
if "logfile" in kwargs:
|
||||||
|
Loading…
Reference in New Issue
Block a user