Added another except

This commit is contained in:
dherrada 2020-05-21 18:21:32 -04:00
parent 58b07ecb43
commit 67cb48acbf
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ def convert_folder(top_level, stub_directory):
except astroid.exceptions.AstroidSyntaxError as e:
e = e.__cause__
traceback.print_exception(type(e), e, e.__traceback__)
except KeyError:
print("Function does not have a key: Name")
print()
return ok, total