diff --git a/custom_functions/user_checks/device_allowed.py b/custom_functions/user_checks/device_allowed.py index ad3a5fc..1e2d283 100644 --- a/custom_functions/user_checks/device_allowed.py +++ b/custom_functions/user_checks/device_allowed.py @@ -1,8 +1,11 @@ +"""Module to check if the user is allowed to use the device.""" + import os import glob def user_allowed_to_use_device(device, username): + """Check if the user is allowed to use the device.""" base_path = os.path.join(os.getcwd(), "configs", "CDMs", username) # Get filenames with extensions