Skip to content

Commit 6c65990

Browse files
committed
v0.4.1
- Minor bugfixes
1 parent c19e464 commit 6c65990

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,7 @@ Contact us @ https://cryptapi.io/contacts/
303303
* Added UI for payments
304304
* Added store application to provide examples on how to implement
305305
* General improvements
306-
* Fixed bugs
306+
* Fixed bugs
307+
308+
#### 0.4.1
309+
* Minor bugfixes

cryptapi/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from distutils.version import StrictVersion
22

3-
VERSION = StrictVersion('0.4')
3+
VERSION = StrictVersion('0.4.1')

cryptapi/utils.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,15 @@ def get_coins():
5252
def get_choices_coins():
5353
coins = ''
5454

55-
for ticker, coin in get_coins().items():
56-
y = list(coins)
57-
y.append((ticker, coin))
58-
coins = tuple(y)
55+
try:
56+
for ticker, coin in get_coins().items():
57+
y = list(coins)
58+
y.append((ticker, coin))
59+
coins = tuple(y)
5960

60-
return coins
61+
return coins
62+
except:
63+
return ()
6164

6265

6366
def build_query_string(data):

0 commit comments

Comments
 (0)