Ignore:
Timestamp:
Nov 1, 2020 11:11:13 AM (2 years ago)
Author:
vondreele
Message:

change all 'Ur' to 'r' in open commands
double all '\' in G2scriptable
close dangling open files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIrestrGUI.py

    r4594 r4635  
    8080            if dlg.ShowModal() == wx.ID_OK:
    8181                macfile = dlg.GetPath()
    82                 macro = open(macfile,'Ur')
     82                macro = open(macfile,'r')
    8383                head = macro.readline()
    8484                if macName not in head:
     
    9898            if dlg.ShowModal() == wx.ID_OK:
    9999                csvfile = dlg.GetPath()
    100                 mogul = open(csvfile,'Ur')
     100                mogul = open(csvfile,'r')
    101101                head = mogul.readline()
    102102                if 'Type' not in head:
Note: See TracChangeset for help on using the changeset viewer.