Files
secretary/src/worker.py

10 lines
263 B
Python
Raw Normal View History

2020-11-12 00:35:04 -03:00
from threading import Thread
class Worker(Thread):
def __init__(self, configs, params):
super(Worker, self).__init__()
self.stop = params['events']['stop']
self.diary = params['queues']['log']
self.logger = params['logging']