contentmonster/worker.py

14 lines
286 B
Python
Raw Normal View History

2021-11-20 14:40:07 +00:00
#!/usr/bin/env python3
from classes.config import MonsterConfig
from classes.vesselthread import VesselThread
from multiprocessing import Manager
import pathlib
config_path = pathlib.Path(__file__).parent.absolute() / "settings.ini"
config = MonsterConfig.fromFile(settings_path)