Run "futurize -1 -w -n ."

This commit is contained in:
Russell Jones 2015-10-01 20:00:28 +01:00
parent 7f11256fc8
commit 06c3dc0ed3
55 changed files with 281 additions and 244 deletions

View file

@ -4,6 +4,7 @@ This contains a simple view for rendering the webclient
page and serve it eventual static content.
"""
from __future__ import print_function
from django.shortcuts import render
from evennia.players.models import PlayerDB
@ -17,7 +18,7 @@ def webclient(request):
# analyze request to find which port we are on
if int(request.META["SERVER_PORT"]) == 8000:
# we relay webclient to the portal port
print "Called from port 8000!"
print("Called from port 8000!")
#return redirect("http://localhost:8001/webclient/", permanent=True)
nsess = len(PlayerDB.objects.get_connected_players()) or "none"