aboutsummaryrefslogtreecommitdiff
path: root/fprintd_tk_lib.py
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-09-24 14:10:12 -0400
committerB. Stack <bgstack15@gmail.com>2024-09-24 14:13:49 -0400
commit9ab441b6cfddb9ed459b3fc69c8ef0cf74e615fd (patch)
tree667b9d2e77c7e888806d8c5d1b76951214e2e46e /fprintd_tk_lib.py
parentadd unused verbose flag to lib (diff)
downloadfprintd-tk-9ab441b6cfddb9ed459b3fc69c8ef0cf74e615fd.tar.gz
fprintd-tk-9ab441b6cfddb9ed459b3fc69c8ef0cf74e615fd.tar.bz2
fprintd-tk-9ab441b6cfddb9ed459b3fc69c8ef0cf74e615fd.zip
add advanced pane which lets you control other users
Diffstat (limited to 'fprintd_tk_lib.py')
-rw-r--r--fprintd_tk_lib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fprintd_tk_lib.py b/fprintd_tk_lib.py
index 6ecbed6..bc97448 100644
--- a/fprintd_tk_lib.py
+++ b/fprintd_tk_lib.py
@@ -21,6 +21,7 @@ def get_enrolled_fingers(user = None, verbose = False):
enrolled_fingers = []
if user is None:
user = _user
+ print(f"DEBUG (get_enrolled_fingers): user {user}")
proc = subprocess.Popen(
["fprintd-list",user],
stdout = subprocess.PIPE,
@@ -51,6 +52,7 @@ def fprintd_action(action, finger, status_function = None, user = None, verbose
if status_function:
status_function(f"Invalid action {action}")
return False
+ print(f"DEBUG (fprintd_action): command {command}")
proc = subprocess.Popen(
command,
stdout = subprocess.PIPE,
bgstack15