Python 3 Start

This commit is contained in:
Luke Rogers 2014-03-06 11:45:00 +13:00
parent 9f029c8ceb
commit 141fe8d80c
67 changed files with 264 additions and 274 deletions

View file

@ -1,4 +1,4 @@
from urllib import quote_plus
from urllib.parse import quote_plus
from util import hook, http
@ -44,7 +44,7 @@ def bancount(inp):
services = request["stats"]["service"]
out = []
for service, ban_count in services.items():
for service, ban_count in list(services.items()):
if ban_count != 0:
out.append("{}: \x02{}\x02".format(service, ban_count))
else: