Test implementation of eos settings
This commit is contained in:
@@ -10,6 +10,10 @@ gamedata_connectionstring = 'sqlite:///' + unicode(realpath(join(dirname(abspath
|
||||
saveddata_connectionstring = 'sqlite:///' + unicode(
|
||||
realpath(join(dirname(abspath(__file__)), "..", "saveddata", "saveddata.db")), sys.getfilesystemencoding())
|
||||
|
||||
settings = {
|
||||
"setting1": True
|
||||
}
|
||||
|
||||
# Autodetect path, only change if the autodetection bugs out.
|
||||
path = dirname(unicode(__file__, sys.getfilesystemencoding()))
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
# Used by:
|
||||
# Modules from group: Tractor Beam (4 of 4)
|
||||
type = "active"
|
||||
|
||||
from eos.config import settings
|
||||
|
||||
def handler(fit, module, context):
|
||||
print settings['setting1']
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user