Skip to content

Commit 085fb23

Browse files
authored
Merge pull request #111 from MattFellows/master
Fixes a CLI bug where the `region` config value wasn't being passed into the main method
2 parents cb5dba4 + 5cb1fe3 commit 085fb23

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Changelog
22
---------
3+
3.7.1
4+
-----
5+
6+
* Bugfix for region flag to CLI
7+
38
3.7.0
49
-----
510

translate/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def config_file(ctx, from_lang, to_lang, provider, secret_access_key):
147147
required=False,
148148
)
149149
@click.argument('text', nargs=-1, type=click.STRING, required=True)
150-
def main(from_lang, to_lang, provider, secret_access_key, output_only, pro, text):
150+
def main(from_lang, to_lang, provider, secret_access_key, output_only, pro, text, region):
151151
"""
152152
Python command line tool to make on line translations
153153

translate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.7.0"
1+
__version__ = "3.7.1"

0 commit comments

Comments
 (0)