Skip to content

Commit

Permalink
fix encoding import
Browse files Browse the repository at this point in the history
  • Loading branch information
wajdikhattel committed May 21, 2020
1 parent c26fd98 commit 56cd879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions textract/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import argcomplete

from . import VERSION
from .parsers import DEFAULT_ENCODING, _get_available_extensions
from .parsers import DEFAULT_OUTPUT_ENCODING, _get_available_extensions


class AddToNamespaceAction(argparse.Action):
Expand Down Expand Up @@ -58,7 +58,7 @@ def get_parser():
'filename', help='Filename to extract text.',
).completer = argcomplete.completers.FilesCompleter
parser.add_argument(
'-e', '--encoding', type=str, default=DEFAULT_ENCODING,
'-e', '--encoding', type=str, default=DEFAULT_OUTPUT_ENCODING,
choices=_get_available_encodings(),
help='Specify the encoding of the output.',
)
Expand Down

0 comments on commit 56cd879

Please sign in to comment.