Files
audio2motion/common/debug.py
T

10 lines
146 B
Python

def debug(opt=None, msg="", verbose=False):
if opt is None or verbose:
print(msg)
if opt.DEBUG or verbose:
print(msg)