old -> py2

This commit is contained in:
Samuel Clay 2021-07-24 10:28:42 -04:00
parent 222000ddd7
commit b16c78b277

View file

@ -70,7 +70,7 @@ BANNED_URLS = [
@never_cache
@render_to('reader/dashboard.xhtml')
def index(request, **kwargs):
if request.method == "GET" and request.subdomain and request.subdomain not in ['dev', 'www', 'debug', 'old']:
if request.method == "GET" and request.subdomain and request.subdomain not in ['dev', 'www', 'debug', 'old', 'py2']:
username = request.subdomain
if '.' in username:
username = username.split('.')[0]