Skip to content

Commit

Permalink
Fix issue with the -s argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed May 24, 2020
1 parent e947f66 commit d05588d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ script:
- coverage run setup.py test
- coverage xml
- domain2idna -d аррӏе.com
- domain2idna -s аррӏе.com google.com
- domain2idna -f .travis/list_of_domain
- domain2idna -f .travis/list_of_domain -o list_of_domain_converted
- cat list_of_domain_converted
Expand Down
2 changes: 1 addition & 1 deletion domain2idna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

from .converter import Converter

VERSION = "1.10.0"
VERSION = "1.10.1"


def domain2idna(subject, encoding="utf-8"):
Expand Down
2 changes: 1 addition & 1 deletion domain2idna/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def tool(): # pragma: no cover
parser.add_argument(
"-s",
"--subject",
type=list,
type=str,
nargs="+",
help="Sets the subjects to convert.",
default=[]
Expand Down

0 comments on commit d05588d

Please sign in to comment.