diff options
author | Chris Little <chrislit@crosswire.org> | 2013-05-22 04:00:56 +0000 |
---|---|---|
committer | Chris Little <chrislit@crosswire.org> | 2013-05-22 04:00:56 +0000 |
commit | 2047288d8c3325b206f73958dd93879f7ffa8fec (patch) | |
tree | 7902578ec47a6fe489e12d9bb893ff27dbaec202 | |
parent | 1c5530cef4f8f572cedaeea2f360fc001bf07915 (diff) | |
download | sword-tools-2047288d8c3325b206f73958dd93879f7ffa8fec.tar.gz |
corrected a help text typo
fixed handling of \\periphs (MODTOOLS-40)
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@416 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-x | modules/python/usfm2osis.py | 4 |
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') |