Changeset 884 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 11, 2013 11:29:11 PM (9 years ago)
Author:
toby
Message:

add histogram input from a GPX file; minor import fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r881 r884  
    348348                        rdmsg += fp.readline()
    349349                    rdmsg += '\n\nDo you want to read this file?'
    350                     if not all([ord(c) < 128 for c in rdmsg]): # show only if ASCII
     350                    if not all([ord(c) < 128 and ord(c) != 0 for c in rdmsg]): # show only if ASCII
    351351                        rdmsg = 'File '+str(
    352352                            filename)+' is a binary file. Do you want to read this file?'
Note: See TracChangeset for help on using the changeset viewer.