From 71dc8b84d39751de8cf86e6fa50c49a231afedf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Slab=C3=BD?= Date: Fri, 28 Jul 2017 23:04:21 +0200 Subject: [PATCH] Add variable declaration before assignment --- disco/bot/parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/disco/bot/parser.py b/disco/bot/parser.py index 4f7d267..8283fc8 100644 --- a/disco/bot/parser.py +++ b/disco/bot/parser.py @@ -131,6 +131,7 @@ class ArgumentSet(object): value : str The string value to attempt conversion on. """ + exc = None for typ_name in types: typ = self.types.get(typ_name) if not typ: