Commit 4825c228 authored by Seblu's avatar Seblu
Browse files

fix exception on invalid profile name as command line argument

parent c095a3b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ try:
            if fparser.has_section(options.profile):
                settings.update(fparser.items(options.profile))
            else:
                printer.warn("Unable to load profile %s"%option.profile)
                printer.warn("Unable to load profile %s"%options.profile)
    except Exception as e:
        if cccli.debug:
            raise