diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2014-03-09 13:25:26 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2014-03-09 13:25:26 +0400 |
commit | 3cd06b40ebd5fcbe8db423f16b752656b6ca0966 (patch) | |
tree | 059626b113171c9ae7f7363b456f2cee37b7b389 /src/gajim.py | |
parent | 0e8bb9e579a1c2c70ebc57921fccc605b6b44ca2 (diff) |
make audio work under windows
Diffstat (limited to 'src/gajim.py')
-rw-r--r-- | src/gajim.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gajim.py b/src/gajim.py index cb60495df..d268427e1 100644 --- a/src/gajim.py +++ b/src/gajim.py @@ -62,6 +62,12 @@ if os.name == 'nt': new_list.insert(0, os.path.join(os.getcwd(), 'gtk', 'bin')) os.environ['PATH'] = ';'.join(new_list) + # Needs to be imported very early to not crash Gajim on exit. + try: + __import__('libxml2mod') + except ImportError: + pass + try: import nbxmpp except ImportError: |