Compare commits

..

No commits in common. "a0ce03335d7edbae38d0f5905c7e74b2a86d8a17" and "bd203e9821defe5454ea697c97adbc1506ac61ed" have entirely different histories.

View File

@ -12,15 +12,14 @@ from collections import Counter
import csv import csv
import requests as r import requests as r
import os import os
import sys
class Qbt: class Qbt:
def __init__(self): def __init__(self):
"""Main object, should be calling functions from qlist.py, qlogging.py and qprocess.py""" """Main object, should be calling functions from qlist.py, qlogging.py and qprocess.py"""
# Open the config. Needs a json file with the data in config.json.example # Open the config. Needs a json file with the data in config.json.example
self.st = datetime.datetime.now() self.st = datetime.datetime.now()
if os.getenv("toml_path"): config_file_path=os.environ["toml_path"]
config_file_path=os.getenv("toml_path")
with open(config_file_path, 'rb') as c: with open(config_file_path, 'rb') as c:
self.config = load(c) self.config = load(c)
if os.path.exists('./config.toml'): if os.path.exists('./config.toml'):