Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def call_howdoi(self, query):
parser = howdoi.get_parser()
args = vars(parser.parse_args(query.split(' ')))
return howdoi.howdoi(args)
def howdoi(self):
if not self.values:
return 'Howdoi what now?'
try:
parser = hownow.get_parser()
args = vars(parser.parse_args(self.values))
return hownow.howdoi(args)
except:
return 'Dunno bro'