diff --git a/tools/pamusb-conf b/tools/pamusb-conf index 61149d7..f3499c4 100755 --- a/tools/pamusb-conf +++ b/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: