Fixed stdout output
This commit is contained in:
@ -280,7 +280,7 @@ def open_uri(uri,
|
|||||||
iseq = urib
|
iseq = urib
|
||||||
objclass = bytes
|
objclass = bytes
|
||||||
else: # TODO update uopen to be able to write?
|
else: # TODO update uopen to be able to write?
|
||||||
if config['obi']['outputformat'] == b'metabaR':
|
if 'outputformat' in config['obi'] and config['obi']['outputformat'] == b'metabaR':
|
||||||
if 'metabarprefix' not in config['obi']:
|
if 'metabarprefix' not in config['obi']:
|
||||||
raise Exception("Prefix needed when exporting for metabaR (--metabaR-prefix option)")
|
raise Exception("Prefix needed when exporting for metabaR (--metabaR-prefix option)")
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user