Skip to content

Commit 2da4722

Browse files
committed
Flake8 fix
1 parent 0515b1e commit 2da4722

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

ivona_api/ivona_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88

99
IVONA_REGION_ENDPOINTS = {
10-
'eu-west-1': 'https://tts.eu-west-1.ivonacloud.com', # EU, Dublin
11-
'us-east-1': 'https://tts.us-east-1.ivonacloud.com', # US East, N. Virginia
12-
'us-west-2': 'https://tts.us-west-2.ivonacloud.com', # US West, Oregon
10+
'eu-west-1': 'https://tts.eu-west-1.ivonacloud.com', # EU
11+
'us-east-1': 'https://tts.us-east-1.ivonacloud.com', # US East
12+
'us-west-2': 'https://tts.us-west-2.ivonacloud.com', # US West
1313
}
1414

1515

@@ -38,7 +38,7 @@ def codec(self):
3838
@codec.setter
3939
def codec(self, value):
4040
if value.lower() not in self.ALLOWED_CODECS:
41-
raise ValueError("Incorrect codec - only ogg, mp3 and mp4 allowed.")
41+
raise ValueError("Incorrect codec - only ogg, mp3 and mp4 allowed")
4242
self._codec = value
4343

4444
def __init__(self, access_key, secret_key, voice_name='Salli',

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def find_version(*file_paths):
3636
return version_match.group(1)
3737
raise RuntimeError("Unable to find version string.")
3838

39+
3940
setup(
4041
name='ivona_api',
4142
url='https://github.com/Pythonity/python-ivona-api',

0 commit comments

Comments
 (0)