Skip to content
Snippets Groups Projects
Commit 053c5c07 authored by nkour's avatar nkour
Browse files

we now fail if no pywin32 is there. REFIX

parent 5d1128c2
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ except exceptions.PysqliteNotAvailable, e: ...@@ -72,6 +72,7 @@ except exceptions.PysqliteNotAvailable, e:
if os.name == 'nt': if os.name == 'nt':
try: try:
import winsound # windows-only built-in module for playing wav import winsound # windows-only built-in module for playing wav
import win32api # do NOT remove. we req this module
except: except:
pritext = _('Gajim needs pywin32 to run') pritext = _('Gajim needs pywin32 to run')
sectext = _('Please make sure that Pywin32 is installed on your system. You can get it at %s') % 'http://sourceforge.net/project/showfiles.php?group_id=78018' sectext = _('Please make sure that Pywin32 is installed on your system. You can get it at %s') % 'http://sourceforge.net/project/showfiles.php?group_id=78018'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment