Test implementation of eos settings

This commit is contained in:
blitzman
2017-03-05 01:53:19 -05:00
parent ab34b31219
commit 9befaf7c91
4 changed files with 30 additions and 1 deletions

View File

@@ -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()))

View File

@@ -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