Ignore:
Timestamp:
May 4, 2017 9:14:19 AM (5 years ago)
Author:
vondreele
Message:

fix printing of nonascii characters (e.g. "umlaut-o") in file names, etc. in exporters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_image.py

    r1261 r2819  
    2020GSASIIpath.SetVersionNumber("$Revision$")
    2121import GSASIIIO as G2IO
    22 import GSASIImath as G2mth
    2322
    2423class ExportImagePNG(G2IO.ExportBaseclass):
     
    5352            Comments,Data,Npix,Image = G2IO.GetImageData(self.G2frame,imgFile)
    5453            scipy.misc.imsave(filename,Image)
    55             print('Image '+str(imgFile)+' written to file '+str(filename))
     54            print('Image '+imgFile+' written to file '+filename)
    5655           
Note: See TracChangeset for help on using the changeset viewer.