Skip to content

Instantly share code, notes, and snippets.

View CtrlAltDefeat94's full-sized avatar

CtrlAltDefeat94

View GitHub Profile
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)