summaryrefslogtreecommitdiffstats
path: root/modules/python/usfm2osis.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/python/usfm2osis.py')
-rwxr-xr-xmodules/python/usfm2osis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/python/usfm2osis.py b/modules/python/usfm2osis.py
index 7e6d691..4cae257 100755
--- a/modules/python/usfm2osis.py
+++ b/modules/python/usfm2osis.py
@@ -1126,7 +1126,7 @@ def convertToOsis(sFile):
matchObject -- a regex match object containing the peripheral type and contents
"""
- periphType,contents = matchObject
+ periphType,contents = matchObject.groups()[0:2]
periph = '<div type="'
if periphType in peripherals:
periph += peripherals[periphType]
@@ -1404,7 +1404,7 @@ def printUsage():
print('')
print('Usage: usfm2osis.py <osisWork> [OPTION] ... <USFM filename|wildcard> ...')
print('')
- print(' -d debug mode (single-threaded, verbose output')
+ print(' -d debug mode (single-threaded, verbose output)')
print(' -e ENCODING input encoding override (default is to read the USFM file\'s')
print(' \\ide value or assume UTF-8 encoding in its absence)')
print(' -h, --help print this usage information')