def content_type(filename):
    ct = 'text/plain'
    ct_guess = mimetypes.guess_type(filename)

    if ct_guess[0] is not None:
        ct = ct_guess[0]

    return ct
Monkey-patch the threading.Thread class with our own LoggedThread. Any subsequent imports of threading.Thread
dataset/ETHPy150Open toastdriven/itty/itty.py/content_type--crossover with--dataset/ETHPy150Open lobocv/pyperform/pyperform/thread.py/enable_thread_logging