def read(self, line):
    ''
    self.config.remove_section('temp')
    try:
        self.config.read_string(('[temp]\n' + line))
        (key, val) = self.config.items('temp')[0]
        if (key in self.args):
            self.args = self.parser.parse_args('--{} {}'.format(key, val).split(), self.args)
        val = self.args.__dict__[key]
        msg = '[magic succeeded] {} = {}'.format(key, val)
    except:
        (key, val) = (None, None)
        msg = '[magic failed]'
    return (key, val, msg)
def read(self, line):
    
    self.config.remove_section('temp')
    try:
        self.config.read_string(('[temp]\n' + line))
        (key, val) = self.config.items('temp')[0]
        if (key in self.args):
            self.args = self.parser.parse_args('--{} {}'.format(key, val).split(), self.args)
        val = self.args.__dict__[key]
        msg = '[magic succeeded] {} = {}'.format(key, val)
    except:
        (key, val) = (None, None)
        msg = '[magic failed]'
    return (key, val, msg)