mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
old -> py2
This commit is contained in:
parent
222000ddd7
commit
b16c78b277
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ BANNED_URLS = [
|
||||||
@never_cache
|
@never_cache
|
||||||
@render_to('reader/dashboard.xhtml')
|
@render_to('reader/dashboard.xhtml')
|
||||||
def index(request, **kwargs):
|
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
|
username = request.subdomain
|
||||||
if '.' in username:
|
if '.' in username:
|
||||||
username = username.split('.')[0]
|
username = username.split('.')[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue