mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Introduce monero.const, simplify net check methods and deprecate old API
This commit is contained in:
parent
e7897f72bd
commit
6e410d9624
11 changed files with 130 additions and 72 deletions
|
@ -42,7 +42,7 @@ argsparser.add_argument('--save', dest='outdir', nargs='?', default=None, const=
|
|||
argsparser.add_argument('destinations', metavar='address:amount', nargs='+', type=destpair,
|
||||
help="Destination address and amount (one or more pairs)")
|
||||
args = argsparser.parse_args()
|
||||
prio = getattr(monero.prio, args.prio.upper())
|
||||
prio = getattr(monero.const, "PRIO_{:s}".format(args.prio.upper()))
|
||||
|
||||
level = logging.WARNING
|
||||
if args.verbosity == 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue