Skip to content

Commit

Permalink
Prepare the new release.
Browse files Browse the repository at this point in the history
cedricbonhomme committed Mar 29, 2017
1 parent 9e4d7ad commit 4cbafc8
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyandrozoo/api.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
ANDROZOO_URL = 'https://androzoo.uni.lu/api/download'

def exception_handler(request, exception):
print('Request failed: {}'.format(exception))
print('Request failed: {}'.format(request.url))

class pyAndroZoo():
def __init__(self, apikey=None, url=ANDROZOO_URL):
@@ -22,6 +22,8 @@ def __write_file(self, r, **kwargs):
if r.status_code == 200:
with open(sha256+'.apk', "wb") as apk_file:
apk_file.write(r.content)
else:
print('Request failed for: {}'.format(sha256))
return r

def get(self, sha256_list):
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@

setup(
name='pyAndroZoo',
version='0.2',
version='0.3',
author='Cédric Bonhomme',
author_email='cedric@cedricbonhomme.org',
packages=packages,

0 comments on commit 4cbafc8

Please sign in to comment.