Browse Source

Add variable declaration before assignment

pull/49/head
Ondřej Slabý 8 years ago
parent
commit
71dc8b84d3
  1. 1
      disco/bot/parser.py

1
disco/bot/parser.py

@ -131,6 +131,7 @@ class ArgumentSet(object):
value : str value : str
The string value to attempt conversion on. The string value to attempt conversion on.
""" """
exc = None
for typ_name in types: for typ_name in types:
typ = self.types.get(typ_name) typ = self.types.get(typ_name)
if not typ: if not typ:

Loading…
Cancel
Save