diff --git a/sat_frontends/jp/base.py b/sat_frontends/jp/base.py index 5ac5d8b4..0cd11379 100644 --- a/sat_frontends/jp/base.py +++ b/sat_frontends/jp/base.py @@ -131,9 +131,9 @@ class Jp(object): for c in expected: ch = sys.stdin.read(1) if ch != c: - # background id is not supported + # background id is not supported, we default to "dark" # TODO: log something? - return + return 'dark' red, green, blue = [int(c, 16)/65535 for c in sys.stdin.read(14).split('/')] # '\a' is the last character sys.stdin.read(1)