Pass the server port as integer to the uwhois client

pull/36/head
Raphaël Vinot 2016-08-04 17:44:40 +02:00
parent f72534c785
commit b3a322a178
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)