- Timestamp:
- Mar 19, 2020 10:51:52 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIIO.py
r4372 r4374 2228 2228 2229 2229 def postURL(URL,postdict): 2230 '''Posts a set of values as from a web form. If access fails to an http 2231 site the access is retried with http s2230 '''Posts a set of values as from a web form. If access fails to an https 2231 site the access is retried with http 2232 2232 :param str URL: the URL to post; typically something 2233 2233 like 'http://www.../dir/page?' … … 2262 2262 finally: 2263 2263 if r: r.close() 2264 if URL.startswith('http :'):2264 if URL.startswith('https:'): 2265 2265 repeat = True 2266 URL = URL.replace('http :','https:')2266 URL = URL.replace('https:','http:') 2267 2267 else: 2268 2268 return None -
trunk/SUBGROUPS.py
r4372 r4374 22 22 import GSASIIpath 23 23 GSASIIpath.SetBinaryPath() 24 submagSite = 'http ://www.cryst.ehu.es/cgi-bin/cryst/programs/subgrmag1_general_GSAS.pl?'24 submagSite = 'https://www.cryst.ehu.es/cgi-bin/cryst/programs/subgrmag1_general_GSAS.pl?' 25 25 26 26 def GetNonStdSubgroups(SGData, kvec,star=False,landau=False,maximal=False): -
trunk/kSUBGROUPSMAG.py
r4372 r4374 24 24 import GSASIIpath 25 25 GSASIIpath.SetBinaryPath() 26 submagSite = 'http ://www.cryst.ehu.es/cgi-bin/cryst/programs/subgrmag1_k.pl'26 submagSite = 'https://www.cryst.ehu.es/cgi-bin/cryst/programs/subgrmag1_k.pl' 27 27 28 28 class TableParser(HTML.HTMLParser):
Note: See TracChangeset
for help on using the changeset viewer.