Merge pull request 'v3.0 - updates' (#56) from v3.0 into master

Reviewed-on: cloud/cms#56
master
Steve L. Nyemba 3 days ago
commit 8be6d3eacc

@ -1,5 +1,5 @@
__author__ = "Steve L. Nyemba" __author__ = "Steve L. Nyemba"
__version__= "2.4.2" __version__= "3.0"
__email__ = "steve@the-phi.com" __email__ = "steve@the-phi.com"
__license__=""" __license__="""
Copyright 2010 - 2024, Steve L. Nyemba, Vanderbilt University Medical Center Copyright 2010 - 2024, Steve L. Nyemba, Vanderbilt University Medical Center

@ -474,7 +474,7 @@ class Site(Initialization) :
:mode r,rb {text,binary} :mode r,rb {text,binary}
""" """
_mode = 'r' if 'mode' not in _args else _args['mode'] _mode = 'r' if 'mode' not in _args else _args['mode']
_uri = _args['uri'] _uri = _args['uri'].replace('/',os.sep) #-- windows has some issues
if _uri.endswith('.py') and '_plugins' in _uri and self.get('layout.root') not in _uri: if _uri.endswith('.py') and '_plugins' in _uri and self.get('layout.root') not in _uri:
# #

Loading…
Cancel
Save