admintools/app.py

20 lines
348 B
Python

import os
from config import Config
from entry import Entry
from actions import *
from logger import Logger
class App:
def __init__(self):
Logger.set_log_file('testdata/log.txt')
self._config = Config()
def start(self):
self._config.read_config()
for entry in self._config:
entry.execute()