summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/cli')
-rw-r--r--lib/python/qmk/cli/doctor/linux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor/linux.py b/lib/python/qmk/cli/doctor/linux.py
index f0850d4e64..c99cc6baea 100644
--- a/lib/python/qmk/cli/doctor/linux.py
+++ b/lib/python/qmk/cli/doctor/linux.py
@@ -87,7 +87,7 @@ def check_udev_rules():
87 line = line.strip() 87 line = line.strip()
88 if not line.startswith("#") and len(line): 88 if not line.startswith("#") and len(line):
89 current_rules.add(line) 89 current_rules.add(line)
90 except PermissionError: 90 except (PermissionError, FileNotFoundError):
91 cli.log.debug("Failed to read: %s", rule_file) 91 cli.log.debug("Failed to read: %s", rule_file)
92 92
93 # Check if the desired rules are among the currently present rules 93 # Check if the desired rules are among the currently present rules