31 lines
559 B
Python
31 lines
559 B
Python
#! /usr/bin/python
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Mar 13, 2010 4:19:39 PM$"
|
|
|
|
|
|
from ct.dict import Dict
|
|
from ct import path
|
|
import event
|
|
|
|
global vars
|
|
global events
|
|
|
|
#settings = Dict()
|
|
vars = Dict()
|
|
#alias = Dict()
|
|
events = event.Event()
|
|
plugins = None
|
|
|
|
'''Attempt to read in a configuration file'''
|
|
def config():
|
|
global vars
|
|
from ct.call import pyfile
|
|
config = "config.py"
|
|
pyfile(path.join(vars["$ocarina"],config))
|
|
pyfile(config)
|
|
|
|
#config = "config.py"
|
|
#config = path.join(vars["$ocarina"],"config.py")
|
|
#from ct.call import pyfile
|
|
#pyfile(config) |