.endsWith -> .endswith

This commit is contained in:
T. Joseph Carter
2015-11-09 04:54:05 -08:00
parent 4587df5bf9
commit 819e19f6d3

View File

@@ -69,7 +69,7 @@ except ImportError:
if 'A2SERVER_SCRIPT_URL' in os.environ:
scriptURL = os.environ['A2SERVER_SCRIPT_URL']
# Strip trailing slash
if scriptURL.endsWith('/'):
if scriptURL.endswith('/'):
scriptURL = scriptURL[:-1]
else:
scriptURL = 'http://appleii.ivanx.com/a2server'