From ded84bf2620313b701af9c88b0f6c6ada2c70eaa Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 6 Jun 2016 19:56:26 +0300 Subject: py: fix scripts when there's no current crtc --- py/alpha-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/alpha-test.py') diff --git a/py/alpha-test.py b/py/alpha-test.py index 6957bb4..113fab0 100755 --- a/py/alpha-test.py +++ b/py/alpha-test.py @@ -12,7 +12,7 @@ card = pykms.Card() conn = card.get_first_connected_connector() mode = conn.get_default_mode() -crtc = conn.get_current_crtc() +crtc = get_crtc_for_connector(conn) planes = [] for p in card.planes: -- cgit v1.2.3