Browse Source

0.7.1: Fix topup

v2 0.7.1
Teran McKinney 4 years ago
parent
commit
4ede740d5a
  1. 3
      requirements.txt
  2. 5
      setup.py
  3. 5
      sporestack/cli.py

3
requirements.txt

@ -1,2 +1 @@
pyyaml
pyqrcode
-e .

5
setup.py

@ -2,7 +2,7 @@
from setuptools import setup
VERSION = '0.7.0'
VERSION = '0.7.1'
DOWNLOAD_URL = 'https://github.com/sporestack/sporestack-python/tarball/{}'
@ -14,13 +14,12 @@ setup(
author='Teran McKinney',
author_email='sega01@go-beyond.org',
description=DESCRIPTION,
keywords=['bitcoin', 'servers', 'infrastructure', 'vps', 'ephemeral'],
keywords=['bitcoin', 'bitcoincash', 'servers', 'infrastructure', 'vps', 'ephemeral'],
license='Unlicense',
url='https://sporestack.com/',
download_url=DOWNLOAD_URL.format(VERSION),
packages=['sporestack'],
install_requires=[
'pyyaml',
'pyqrcode'
],
entry_points={

5
sporestack/cli.py

@ -455,7 +455,8 @@ def topup(args):
try:
node = sporestack.node_topup(days=args.days,
uuid=args.uuid,
paycode=args.paycode)
paycode=args.paycode,
currency=args.currency)
except (ValueError, KeyboardInterrupt):
raise
except:
@ -466,7 +467,7 @@ def topup(args):
if ran_once is True:
continue
handle_payment(args.uuid, node.address, node.satoshis,
args.wallet_command)
args.wallet_command, args.currency)
ran_once = True
else:
break

Loading…
Cancel
Save