try to fix unsubscriptable-object pylint error @ github

This commit is contained in:
Klaus Zerwes
2022-08-08 21:20:00 +02:00
parent 791a2afc00
commit 30a74b448d

View File

@@ -193,7 +193,7 @@ if not args.no_general_exclude_paths:
exclude_paths.append(args.fqcnmapfile)
# update some args from optional config file
_config = False
_config = {}
if args.config:
try:
with open(args.config) as ymlfile: