Changeset 5073


Ignore:
Timestamp:
Nov 12, 2021 11:08:46 AM (7 months ago)
Author:
toby
Message:

allow older Python

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r5062 r5073  
    42074207            layr = op.GLayer(plot.layer)
    42084208            pindex = plot.index()
    4209             pname = layr.obj.GetStrProp(f'plot{pindex + 1}.name')
    4210             layr.lt_exec(f'set {pname} -w 1000')
     4209            pname = layr.obj.GetStrProp('plot{}.format(pindex+1).name')
     4210            layr.lt_exec('set {} -w 1000'.format(pname))
    42114211       
    42124212        import itertools # delay this since not commonly called or needed
Note: See TracChangeset for help on using the changeset viewer.