diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index 62ef345..2627ae7 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -6,9 +6,9 @@ import urllib import warnings from voussoirkit import bytestring -from voussoirkit import clipext from voussoirkit import dotdict from voussoirkit import pathclass +from voussoirkit import pipeable from voussoirkit import ratelimiter from voussoirkit import vlogging @@ -435,7 +435,7 @@ def touch(filename): def download_argparse(args): url = args.url - url = clipext.resolve(url) + url = pipeable.input(url, split_lines=False) callback = { None: Progress1, '1': Progress1, diff --git a/voussoirkit/operatornotify.py b/voussoirkit/operatornotify.py index bb4a2c3..07efb70 100644 --- a/voussoirkit/operatornotify.py +++ b/voussoirkit/operatornotify.py @@ -238,8 +238,8 @@ def main_log_context(argv, subject, *args, **kwargs): def operatornotify_argparse(args): notify( - subject='\n'.join(pipeable.input(args.subject)), - body='\n'.join(pipeable.input(args.body)), + subject=pipeable.input(args.subject, split_lines=False), + body=pipeable.input(args.body, split_lines=False), ) @vlogging.main_decorator