Ignore:
Timestamp:
Jun 28, 2018 4:50:46 PM (4 years ago)
Author:
toby
Message:

Complete basestring fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIexprGUI.py

    r3457 r3458  
    185185                val = parmDict[key]
    186186            if '2' in platform.python_version_tuple()[0]:
    187                 string = basestring
     187                basestr = basestring
    188188            else:
    189                 string = str
    190             if isinstance(val, string): continue
     189                basestr = str
     190            if isinstance(val, basestr): continue
    191191            try:
    192192                self.parmDict[key] = float(val)
Note: See TracChangeset for help on using the changeset viewer.