From 928b7b67ba2d0a632782d83c8f995e487564249e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 14 Nov 2013 21:34:15 +0100 Subject: [PATCH] fix warning message --- src/common/jingle_xtls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/jingle_xtls.py b/src/common/jingle_xtls.py index ff2003dcc..297609148 100644 --- a/src/common/jingle_xtls.py +++ b/src/common/jingle_xtls.py @@ -116,7 +116,10 @@ def get_context(fingerprint, verify_cb=None): with open(dh_params_name, "r") as dh_params_file: ctx.load_tmp_dh(dh_params_name) except IOError as err: - log.warn('Unable to load DH parameter file: %s. You should generate it by using this command : "openssl dhparam 4096 -out ~/.local/share/gajim/dh_params.pem". This command take about 15 minutes to complete.' % dh_params_name) + log.warn('Unable to load DH parameter file: %s. You should generate it ' + 'by using this command : "openssl dhparam 4096 -out ' + '~/.config/gajim/dh_params.pem". This command take about 15 ' + 'minutes to complete.' % dh_params_name) default_dh_params_name = os.path.join(common.gajim.DATA_DIR, 'other', DEFAULT_DH_PARAMS) try: