From 2748699c1bb5bde5f5dd1864b26ff89d713a5bee Mon Sep 17 00:00:00 2001 From: Lorenz Bischof Date: Tue, 28 Mar 2017 21:58:59 +0200 Subject: [PATCH] Update example config --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0466991..248f1c1 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Below is an example of a configuration which sets the defaults. import subprocess def update_text(text): # Get first line - first_line = text.splitline()[:-1] + first_line = text.splitlines()[0] if text else '' subprocess.call(["xsetroot", "-name", first_line]) ## Possible errors