Browse Source

0.7.1: Fix topup

tags/0.7.1
Teran McKinney 2 years ago
parent
commit
4ede740d5a
3 changed files with 6 additions and 7 deletions
  1. +1
    -2
      requirements.txt
  2. +2
    -3
      setup.py
  3. +3
    -2
      sporestack/cli.py

+ 1
- 2
requirements.txt View File

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

+ 2
- 3
setup.py View File

@@ -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={


+ 3
- 2
sporestack/cli.py View File

@@ -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