Changeset 3041 for trunk/GSASIIdataGUI.py
- Timestamp:
- Sep 3, 2017 11:18:33 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r3037 r3041 2765 2765 arg = sys.argv 2766 2766 if len(arg) > 1 and arg[1]: 2767 self.GSASprojectfile = os.path.splitext(arg[1])[0]+'.gpx' 2767 try: 2768 self.GSASprojectfile = os.path.splitext(arg[1])[0]+u'.gpx' 2769 except: 2770 self.GSASprojectfile = os.path.splitext(arg[1])[0]+'.gpx' 2768 2771 self.dirname = os.path.abspath(os.path.dirname(arg[1])) 2769 2772 if self.dirname: os.chdir(self.dirname) … … 3607 3610 GetGPX() 3608 3611 else: 3609 self.GSASprojectfile = os.path.splitext(filename)[0]+'.gpx' 3612 try: 3613 self.GSASprojectfile = os.path.splitext(filename)[0]+u'.gpx' 3614 except: 3615 self.GSASprojectfile = os.path.splitext(filename)[0]+'.gpx' 3610 3616 self.dirname = os.path.split(filename)[0] 3611 3617
Note: See TracChangeset
for help on using the changeset viewer.