From b77dd6d62d25c750913e1fa63ab850155cd0daf3 Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 25 Sep 2022 08:05:47 +0200 Subject: [PATCH] filter out floppy disks Signed-off-by: axtloss --- src/utils/disks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/disks.py b/src/utils/disks.py index 867af5e..f721bb2 100644 --- a/src/utils/disks.py +++ b/src/utils/disks.py @@ -31,6 +31,7 @@ def get_disks(): output = [x for x in output if 'NAME' not in x] output = [x for x in output if 'loop' not in x] output = [x for x in output if 'sr' not in x] + output = [x for x in output if 'fd' not in x] return output def get_disk_size(disk: str):