Browse Source

Strip data from xml

master
Andrea Luzzardi 17 years ago
parent
commit
51822b8fae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pam_usb/tools/pamusb-agent

+ 1
- 1
pam_usb/tools/pamusb-agent View File

@ -168,7 +168,7 @@ else:
logger.error('Device %s not found in configurtion file' % deviceName) logger.error('Device %s not found in configurtion file' % deviceName)
sys.exit(1) sys.exit(1)
serial = device.find('serial').text
serial = device.find('serial').text.strip()
def authChangeCallback(event): def authChangeCallback(event):
if event == 'removed': if event == 'removed':


Loading…
Cancel
Save