Move print for debug message

This commit is contained in:
Philipp Hörist 2019-02-01 17:16:03 +01:00
parent 0b6fac44dc
commit 18c422d843
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@ import gajim
from gajim.common import config as c_config
from gajim.common import configpaths
from gajim.common import ged as ged_module
from gajim.common.i18n import LANG
from gajim.common.contacts import LegacyContactsAPI
from gajim.common.events import Events
from gajim.common.types import NetworkEventsControllerT # pylint: disable=unused-import
@ -337,6 +338,8 @@ def detect_dependencies():
for dep, val in _dependencies.items():
log('gajim').info('%-13s %s', dep, val)
log('gajim').info('Used language: %s', LANG)
def get_gpg_binary():
return _dependencies['GPG_BINARY']

View File

@ -171,7 +171,6 @@ try:
# Set the env var on Windows because gettext.find() uses it to
# find the translation
os.environ['LANG'] = LANG
print('Found default language: %s' % LANG)
except Exception as error:
print('Failed to determine default language')
import traceback