Skip to content

Commit

Permalink
Workaround for broken Nightly - ConfigParser.NoOptionError Schrodinge…
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidersoft committed Jan 26, 2020
1 parent 6ff2985 commit 499060e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bomlib/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ def Read(self, file, verbose=False):
self.groupConnectors = self.checkOption(cf, self.OPT_GROUP_CONN, default=True)
self.useRegex = self.checkOption(cf, self.OPT_USE_REGEX, default=True)
self.mergeBlankFields = self.checkOption(cf, self.OPT_MERGE_BLANK, default=True)
self.outputFileName = cf.get(self.SECTION_GENERAL, self.OPT_OUTPUT_FILE_NAME)
self.variantFileNameFormat = cf.get(self.SECTION_GENERAL, self.OPT_VARIANT_FILE_NAME_FORMAT)
self.outputFileName = cf.get(self.SECTION_GENERAL, self.OPT_OUTPUT_FILE_NAME, default='bom')
self.variantFileNameFormat = cf.get(self.SECTION_GENERAL, self.OPT_VARIANT_FILE_NAME_FORMAT, default='csv')

if cf.has_option(self.SECTION_GENERAL, self.OPT_CONFIG_FIELD):
self.configField = cf.get(self.SECTION_GENERAL, self.OPT_CONFIG_FIELD)
Expand Down

0 comments on commit 499060e

Please sign in to comment.