Skip to content

Commit

Permalink
BUG: fixed Python 2 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fredfortier committed Feb 7, 2018
1 parent c5bed6e commit 2d43955
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions catalyst/marketplace/marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@ def subscribe(self, dataset):
print('\nThe price for a monthly subscription to this dataset is'
' {} ENG'.format(price))

print('Checking that the ENG balance in {} is greater than '
'{} ENG... '.format(address, price), end='')
print(
'Checking that the ENG balance in {} is greater than {} '
'ENG... '.format(address, price)
)

wallet_address = address[2:]
balance = self.web3.eth.call({
Expand Down
2 changes: 1 addition & 1 deletion tests/marketplace/test_marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_register(self):

def test_subscribe(self):
marketplace = Marketplace()
marketplace.subscribe('marketcap1234')
marketplace.subscribe('marketcap2222')
pass

def test_ingest(self):
Expand Down

0 comments on commit 2d43955

Please sign in to comment.