Fixed bug with view option in obi less and obi check

This commit is contained in:
Celine Mercier
2017-07-06 16:42:27 +02:00
parent c3cd57a9e3
commit 906343187b
2 changed files with 2 additions and 2 deletions

View File

@ -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 :

View File

@ -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']) :