From 714d70cb233f6ffd30804142e622a8d76958da8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 21 May 2018 18:49:06 +0200 Subject: [PATCH] Dont get current version from config --- gajim/common/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/common/app.py b/gajim/common/app.py index abf5fbc91..3781c3e61 100644 --- a/gajim/common/app.py +++ b/gajim/common/app.py @@ -37,6 +37,7 @@ from collections import namedtuple import nbxmpp +import gajim from gajim.common import config as c_config from gajim.common import configpaths from gajim.common import ged as ged_module @@ -46,7 +47,7 @@ from gajim.common.events import Events interface = None # The actual interface (the gtk one for the moment) thread_interface = lambda *args: None # Interface to run a thread and then a callback config = c_config.Config() -version = config.get('version') +version = gajim.__version__ connections = {} # 'account name': 'account (connection.Connection) instance' avatar_cache = {} ipython_window = None