os.chdir(PATH)
# Set up the service
+import config
+config.configFile = CONFIG
import main
from twisted.application import service
application = service.Application("PyMSNt")
# This file contains the default settings for various options.
# Please edit config.xml instead of this file
+configFile = "config.xml"
+
jid = "msn"
ip = "127.0.0.1"
compjid = ""
def reloadConfig():
# Find out where the config file is
- configFile = "config.xml"
+ configFile = config.configFile
if len(sys.argv) == 2:
configFile = sys.argv[1]