diff --git a/pam_usb/tools/pamusb-conf b/pam_usb/tools/pamusb-conf index 61149d7..f3499c4 100755 --- a/pam_usb/tools/pamusb-conf +++ b/pam_usb/tools/pamusb-conf @@ -181,10 +181,10 @@ def addDevice(options): shouldSave(options,[ ('Name', options['deviceName']), - ('Vendor', device.vendor), - ('Model', device.product), + ('Vendor', device.vendor or "Unknown"), + ('Model', device.product or "Unknown"), ('Serial', device.serialNumber), - ('UUID', volume['uuid'] or "") + ('UUID', volume['uuid'] or "Unknown") ]) try: