add hook by default

This commit is contained in:
Nikos Kouremenos 2005-09-09 17:43:39 +00:00
parent e34f99cd30
commit 2a0a91995f
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ exec python -OOt "$0" ${1+"$@"}
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
import gtkexcepthook
import sys import sys
import pygtk import pygtk
import os import os
@ -51,6 +52,7 @@ _ = i18n._
import common.sleepy import common.sleepy
import check_for_new_version import check_for_new_version
from common import gajim from common import gajim
from common import connection from common import connection
from common import helpers from common import helpers
@ -71,7 +73,6 @@ for o, a in opts:
sys.exit() sys.exit()
elif o in ('-v', '--verbose'): elif o in ('-v', '--verbose'):
gajim.verbose = True gajim.verbose = True
import gtkexcepthook
elif o in ('-p', '--profile'): # gajim --profile name elif o in ('-p', '--profile'): # gajim --profile name
profile = a profile = a