Browse Source

A couple of fixes.

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
0768aa43aa
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      toolserver/cookies.py
  2. +1
    -1
      toolserver/settings.py

+ 2
- 2
toolserver/cookies.py View File

@@ -9,9 +9,9 @@ class _CookieManager(BaseCookie):
def __init__(self, environ):
self._path = path.split(environ["PATH_INFO"])[0]
try:
self.load(environ["HTTP_COOKIE"])
super(_CookieManager, self).__init__(environ["HTTP_COOKIE"])
except AttributeError:
pass
super(_CookieManager, self).__init__()

def value_decode(self, value):
try:


+ 1
- 1
toolserver/settings.py View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from ..cookies import parse_cookies, set_cookie
from ..cookies import parse_cookies, set_cookie, delete_cookie
from ..misc import get_bot, Query
from ..sites import get_sites



Loading…
Cancel
Save