Fix exclude words
This commit is contained in:
54
alert.py
54
alert.py
@@ -1,28 +1,28 @@
|
||||
# Wallamonitor
|
||||
# 10/02/2021
|
||||
|
||||
import time
|
||||
import requests
|
||||
import json
|
||||
import telegram
|
||||
import argparse
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
load_dotenv()
|
||||
import threading
|
||||
|
||||
from worker import Worker
|
||||
|
||||
def parse_json_file():
|
||||
f = open("args.json")
|
||||
return json.load(f)
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_json_file()
|
||||
|
||||
for argument in args:
|
||||
p = threading.Thread(target=Worker.run, args=(argument, ))
|
||||
p.start()
|
||||
|
||||
# Wallamonitor
|
||||
# 10/02/2021
|
||||
|
||||
import time
|
||||
import requests
|
||||
import json
|
||||
import telegram
|
||||
import argparse
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
load_dotenv()
|
||||
import threading
|
||||
|
||||
from worker import Worker
|
||||
|
||||
def parse_json_file():
|
||||
f = open("args.json")
|
||||
return json.load(f)
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_json_file()
|
||||
|
||||
for argument in args:
|
||||
p = threading.Thread(target=Worker.run, args=(argument, ))
|
||||
p.start()
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user