aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python/qmk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk')
-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():
line = line.strip()
if not line.startswith("#") and len(line):
current_rules.add(line)
- except PermissionError:
+ except (PermissionError, FileNotFoundError):
cli.log.debug("Failed to read: %s", rule_file)
# Check if the desired rules are among the currently present rules