Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Get rid of "Price can't be blank"
CoinbaseError: [u"Price can't be blank"]
  • Loading branch information
sylvainblot committed Feb 14, 2014
commit 1fcb9b597584158dff152fa94a2e9032b191f17b
3 changes: 2 additions & 1 deletion coinbase/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def create_button(self, name,
"button": {
"name": name,
"price": str(price),
"price_string": str(price),
"currency": currency,
"type": type,
"style": style,
Expand Down Expand Up @@ -542,4 +543,4 @@ def orders(self, count=30):
for order in response_parsed['orders']:
orders.append(CoinbaseOrder(order['order']))

return orders
return orders