예제 #1
0
    def __init__(self, logging_groups=['Default', 'Cortex']):
        Cortex.__init__(self, 'SOUL', logging_groups)

        # The following is parsing the defines.txt to get the app specific data
        defines = utils.parse_defines(
            utils.read_txt("../database/cortex/soul.txt"))
        self.delay = eval(defines['delay'])
예제 #2
0
    def __init__(self, screen, logging_groups=['Default', 'Cortex']):
        Cortex.__init__(self, 'Collector', logging_groups)

        # Current collection platform
        self.platform = GroupMe_Web(screen, logging_groups)

        # The following is parsing the defines.txt to get the app specific data
        defines = utils.parse_defines(
            utils.read_txt("../database/cortex/collector.txt"))
        self.alias_dict = eval(defines['member_alias'])