From d2aab80fe2dbbb6b6634150e4fec9ca35285b3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 25 Nov 2016 11:02:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B8=D0=BC=D1=91=D0=BD=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?xfce=20pointers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/desktop/variables/desktop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/desktop/variables/desktop.py b/pym/desktop/variables/desktop.py index 3a6afd7..d55713a 100644 --- a/pym/desktop/variables/desktop.py +++ b/pym/desktop/variables/desktop.py @@ -215,7 +215,7 @@ class VariableClDesktopXfcePointers(ReadonlyVariable): glob.glob("/sys/class/input/mouse*/device/name")): data = readFile(name_fn) if data: - yield data.strip().replace(" ", "_") + yield data.strip().replace(" ", "_").replace("/","") return list(generate())