Fixed bug with view option in obi less and obi check
This commit is contained in:
@ -49,7 +49,7 @@ def run(config):
|
||||
|
||||
# Open input view uif there is one
|
||||
if config['obi']['inputview'] is not None :
|
||||
iview = View.open(d, config['obi']['inputview'])
|
||||
iview = View.open(d, config['obi']['view'])
|
||||
print(repr(iview))
|
||||
|
||||
else :
|
||||
|
@ -47,7 +47,7 @@ def run(config):
|
||||
d = DMS.open(config['obi']['defaultdms'])
|
||||
|
||||
# Open input view
|
||||
iview = View.open(d, config['obi']['inputview'])
|
||||
iview = View.open(d, config['obi']['view'])
|
||||
|
||||
# Print
|
||||
for i in range(config['less']['print']) :
|
||||
|
Reference in New Issue
Block a user