Replace clipext.resolve with pipeable.input(split_lines=False).

This commit is contained in:
voussoir 2021-08-17 14:07:12 -07:00
parent 7417d8a45f
commit 6329b466ec
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -8,7 +8,7 @@ import traceback
from voussoirkit import bytestring
from voussoirkit import downloady
from voussoirkit import clipext
from voussoirkit import pipeable
DEFAULT_PIECE_SIZE = bytestring.MIBIBYTE
DEFAULT_THREAD_COUNT = 10
@ -134,7 +134,7 @@ def init_argparse(args):
piece_size = bytestring.parsebytes(args.piece_size)
else:
piece_size = args.piece_size
url = clipext.resolve(args.url)
url = pipeable.input(args.url, split_lines=False)
init(url, localname=args.localname, piece_size=piece_size)
def reset_argparse(args):