unfoldingWord-dev / USFM-Tools

Tools for parsing and rendering USFM files
Other
5 stars 14 forks source link

Redundant code in USFM-Tools/usfm_tools/transform.py #45

Open davidbaines opened 4 years ago

davidbaines commented 4 years ago

In the transform.py code the list of elifs has elif targets == 'csv': duplicated.

    elif targets == 'csv':
        UsfmTransform.buildCSV(usfm_dir, build_dir, build_name)
    elif targets == 'ascii':
        UsfmTransform.buildASCII(usfm_dir, build_dir, build_name)
    elif targets == 'csv':
        UsfmTransform.buildCSV(usfm_dir, build_dir, build_name)