Changeset 21258


Ignore:
Timestamp:
10/12/16 05:27:59 (8 years ago)
Author:
bdef
Message:

BUG: fixing display due to behaviour change of getvalue()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/io/loadvars.py

    r21257 r21258  
    122122                                                                t=indexlist[i]
    123123                                                                if listtype=='dict':
    124                                                                         Tree[t][str(var)]=varval.getValue()
    125                                                                 else:
    126                                                                         Tree[t].__dict__[str(var)]=varval.getValue()
     124                                                                        Tree[t][str(var)]=varval[0]
     125                                                                else:
     126                                                                        Tree[t].__dict__[str(var)]=varval[0]
    127127                                                        else:
    128128                                                                try:
    129                                                                         Tree.__dict__[str(var)]=varval.getValue()
     129                                                                        Tree.__dict__[str(var)]=varval[0]
    130130                                                                        if varval.getValue()=='True':
    131131                                                                                Tree.__dict__[str(var)]=True
Note: See TracChangeset for help on using the changeset viewer.