diff options
Diffstat (limited to 'src/scanner.vala')
-rw-r--r-- | src/scanner.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.vala b/src/scanner.vala index 809ba6c..495ee9d 100644 --- a/src/scanner.vala +++ b/src/scanner.vala @@ -367,6 +367,10 @@ public class Scanner : Object var devices = new List<ScanDevice> (); for (var i = 0; device_list[i] != null; i++) { + /* Virtual devices tend to not be scanners. Skip them. */ + if (device_list[i].type == "virtual device") + continue; + debug ("Device: name=\"%s\" vendor=\"%s\" model=\"%s\" type=\"%s\"", device_list[i].name, device_list[i].vendor, device_list[i].model, device_list[i].type); |