This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from json import JSONDecodeError, load, dumps | |
from requests import get, patch | |
from requests.auth import HTTPBasicAuth | |
from os.path import abspath, dirname, exists | |
from os import chdir | |
BLOCKCONVERSION = 4320 | |
CONFIGFILE = 'HostdManager.json' | |
abspath = abspath(__file__) | |
dname = dirname(abspath) |