13 lines
231 B
Python
13 lines
231 B
Python
|
from threading import Thread
|
||
|
import httpx
|
||
|
|
||
|
|
||
|
class Worker(Thread):
|
||
|
def __init__(self, settings):
|
||
|
self.settings = settings
|
||
|
|
||
|
def run():
|
||
|
while True:
|
||
|
if self.stop_event.isSet():
|
||
|
break
|