From bcc549cbb6b84ad9f0e20ba609d33cef72cf502f Mon Sep 17 00:00:00 2001 From: Ali Hatami Tajik Date: Fri, 7 Apr 2023 23:36:02 +0330 Subject: [PATCH] Remove dispatches from x.py --- src/scripts/python/util/x.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/scripts/python/util/x.py b/src/scripts/python/util/x.py index 8fd0c6f..aef22aa 100644 --- a/src/scripts/python/util/x.py +++ b/src/scripts/python/util/x.py @@ -1,11 +1,9 @@ import subprocess -from multipledispatch import dispatch from pathlib import Path ENCODING = "utf-8" -@dispatch() def get_list_short(): """Returns string output of the `xinput --list --short` command encoded as UTF-8""" @@ -15,7 +13,6 @@ def get_list_short(): return completed.stdout.decode(ENCODING) -@dispatch(int) def get_list_short_with(id): """Short List of the id