Changeset - 3e09cfb12e3a
[Not reviewed]
default
0 1 0
Laman - 5 years ago 2020-04-13 12:13:23

redirected errors to stderr
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/cli.py
Show inline comments
 
@@ -60,7 +60,7 @@ def _generate(args):
 
		for s in shares:
 
			print(s)
 
	except SException as e:
 
		print(e)
 
		print(e, file=sys.stderr)
 

	
 

	
 
def _reconstruct(args):
 
@@ -80,7 +80,7 @@ def _reconstruct(args):
 
	try:
 
		print(reconstruct(*shares, encoding=encoding, raw=args.raw))
 
	except SException as e:
 
		print(e)
 
		print(e, file=sys.stderr)
 

	
 

	
 
def get_encoding(args):
0 comments (0 inline, 0 general)