Commit 714d70cb authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Dont get current version from config

parent 0ea721fb
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
import nbxmpp import nbxmpp
import gajim
from gajim.common import config as c_config from gajim.common import config as c_config
from gajim.common import configpaths from gajim.common import configpaths
from gajim.common import ged as ged_module from gajim.common import ged as ged_module
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
interface = None # The actual interface (the gtk one for the moment) 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 thread_interface = lambda *args: None # Interface to run a thread and then a callback
config = c_config.Config() config = c_config.Config()
version = config.get('version') version = gajim.__version__
connections = {} # 'account name': 'account (connection.Connection) instance' connections = {} # 'account name': 'account (connection.Connection) instance'
avatar_cache = {} avatar_cache = {}
ipython_window = None ipython_window = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment