Fix in show connection error for gethostbyname
This commit is contained in:
parent
82ce82c091
commit
9594c13041
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ def pastafari2_add_server_task():
|
|||
pass
|
||||
except socket.error as err_msg:
|
||||
error=1
|
||||
error_form['#server_host_error']=I18n.lang('pastafari2', 'error_getting_ip_host', 'Error: '+err_msg)
|
||||
error_form['#server_host_error']=I18n.lang('pastafari2', 'error_getting_ip_host', 'Error: '+err_msg.__str__())
|
||||
|
||||
if not error:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue