From 93a0a73e907b67ca072a3749d3f291c2c47d9c44 Mon Sep 17 00:00:00 2001 From: Ali Hatami Tajik Date: Mon, 13 Mar 2023 15:40:53 +0330 Subject: [PATCH] Remove multipledispatch module --- 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