@staticmethod
def set_debug(b):
    global DEBUG
    if ((b is not None) and (b == 'true')):
        DEBUG = True
@staticmethod
def set_debug(b):
    global DEBUG
    if ((b is not None) and (b == 'true')):
        DEBUG = True