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
|
# Open input view uif there is one
|
||||||
if config['obi']['inputview'] is not None :
|
if config['obi']['inputview'] is not None :
|
||||||
iview = View.open(d, config['obi']['inputview'])
|
iview = View.open(d, config['obi']['view'])
|
||||||
print(repr(iview))
|
print(repr(iview))
|
||||||
|
|
||||||
else :
|
else :
|
||||||
|
@ -47,7 +47,7 @@ def run(config):
|
|||||||
d = DMS.open(config['obi']['defaultdms'])
|
d = DMS.open(config['obi']['defaultdms'])
|
||||||
|
|
||||||
# Open input view
|
# Open input view
|
||||||
iview = View.open(d, config['obi']['inputview'])
|
iview = View.open(d, config['obi']['view'])
|
||||||
|
|
||||||
# Print
|
# Print
|
||||||
for i in range(config['less']['print']) :
|
for i in range(config['less']['print']) :
|
||||||
|
Reference in New Issue
Block a user