Pārlūkot izejas kodu

A couple of fixes.

pull/24/head
Ben Kurtovic pirms 12 gadiem
vecāks
revīzija
0768aa43aa
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +2
    -2
      toolserver/cookies.py
  2. +1
    -1
      toolserver/settings.py

+ 2
- 2
toolserver/cookies.py Parādīt failu

@@ -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 Parādīt failu

@@ -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



Notiek ielāde…
Atcelt
Saglabāt