we now fail if no pywin32 is there. REFIX

This commit is contained in:
Nikos Kouremenos 2006-12-02 01:26:45 +00:00
parent 5d1128c21c
commit 053c5c0776
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ except exceptions.PysqliteNotAvailable, e:
if os.name == 'nt':
try:
import winsound # windows-only built-in module for playing wav
import win32api # do NOT remove. we req this module
except:
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'