Skip to content

Commit 573862b

Browse files
author
Tali Herzka
committed
new version increment
1 parent d0b99be commit 573862b

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='transcriptic',
5-
version='1.3.12',
5+
version='1.3.13',
66
py_modules=['transcriptic'],
77
install_requires=[
88
'Click>=5.1',

transcriptic.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,20 +218,20 @@ def upl(ctx, archive, package):
218218
bar.update(20)
219219
response_tree = ET.fromstring(response.content)
220220
loc = dict((i.tag, i.text) for i in response_tree)
221-
up = ctx.obj.post('/packages/%s/releases/' % package_id,
222-
data = json.dumps({"release":
223-
{
224-
"binary_attachment_url": loc["Key"]
225-
}
226-
}),
227-
headers= {
228-
"Origin": "https://secure.transcriptic.com/",
229-
"Content-Type": "application/json"
230-
})
231221
try:
222+
up = ctx.obj.post('/packages/%s/releases/' % package_id,
223+
data = json.dumps({"release":
224+
{
225+
"binary_attachment_url": loc["Key"]
226+
}
227+
}),
228+
headers= {
229+
"Origin": "https://secure.transcriptic.com/",
230+
"Content-Type": "application/json"
231+
})
232232
re = json.loads(up.content)['id']
233233
except ValueError:
234-
click.echo("\nError: There was a problem uploading your release. Verify"
234+
click.echo("\nError: There was a problem uploading your release. \nVerify"
235235
" that your manifest.json file is properly formatted and"
236236
" that all previews in your manifest produce valid "
237237
"Autoprotocol by using the `transcriptic preview` "

0 commit comments

Comments
 (0)