~martijnbraam/bare-py

22a90637021d9e97925280354c6d7c7c5eda16b0 — Martijn Braam 8 months ago 30592ef
Support reading dumps from stdin
1 files changed, 2 insertions(+), 0 deletions(-)

M bare/dump.py
M bare/dump.py => bare/dump.py +2 -0
@@ 172,6 172,8 @@ def main():
    if args.base64:
        message = base64.b64decode(args.message)
    else:
        if args.message == '-':
            args.message = sys.stdin
        with open(args.message, 'rb') as handle:
            message = handle.read()