Changeset 4635 for trunk/GSASIIconstrGUI.py
- Timestamp:
- Nov 1, 2020 11:11:13 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIconstrGUI.py
r4624 r4635 1820 1820 if dlg.ShowModal() == wx.ID_OK: 1821 1821 macfile = dlg.GetPath() 1822 macro = open(macfile,' Ur')1822 macro = open(macfile,'r') 1823 1823 head = macro.readline() 1824 1824 if macName not in head: … … 1841 1841 txtfile = dlg.GetPath() 1842 1842 ext = os.path.splitext(txtfile)[1] 1843 text = open(txtfile,' Ur')1843 text = open(txtfile,'r') 1844 1844 else: # cancel was pressed 1845 1845 ext = '' … … 2583 2583 filename = filelist[0] 2584 2584 rd = reader 2585 with open(filename, ' Ur'):2585 with open(filename, 'r'): 2586 2586 rd.ReInitialize() 2587 2587 rd.errors = ""
Note: See TracChangeset
for help on using the changeset viewer.