Merge pull request #36 from Rafiot/import-test

Pass the server port as integer to the uwhois client
pull/40/head
Alexandre Dulaunoy 2016-08-04 17:45:43 +02:00 committed by GitHub
commit 3d031f234c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def handler(q=False):
misperrors['error'] = 'EUPI authentication is missing'
return misperrors
uwhois = Uwhois(request['config']['server'], request['config']['port'])
uwhois = Uwhois(request['config']['server'], int(request['config']['port']))
if 'event_id' in request:
return handle_expansion(uwhois, toquery)