eliranwong/bible-verse-parser

"ValueError: not enough values to unpack (expected 2, got 1)"

twisp007 opened this issue · 1 comments

I used the sample file provided and it's not working even with that file.

python BibleVerseParser.py dictionary-for-testing.txt
Traceback (most recent call last):
  File "BibleVerseParser.py", line 264, in <module>
    parser = BibleVerseParser(standardisation)
  File "BibleVerseParser.py", line 60, in __init__
    self.updateStandardAbbreviation()
  File "BibleVerseParser.py", line 89, in updateStandardAbbreviation
    self.checkConfig()
  File "BibleVerseParser.py", line 99, in checkConfig
    name, value = ("standardAbbreviation = ", config.standardAbbreviation),
ValueError: not enough values to unpack (expected 2, got 1)

The issue seems to be
name, value = ("standardAbbreviation = ", config.standardAbbreviation),
this works
name, value = ("standardAbbreviation = ", config.standardAbbreviation)

Also need to import a module
import pprint