Просмотр исходного кода

Remove incorrect argument

In rare cases this can cause a crash.
Unrud 9 лет назад
Родитель
Сommit
9192a7751b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -323,7 +323,7 @@ class Application:
 
 
         # Set content length
         # Set content length
         if answer:
         if answer:
-            self.logger.debug("Response content:\n%s" % answer, environ)
+            self.logger.debug("Response content:\n%s" % answer)
             answer = answer.encode(self.encoding)
             answer = answer.encode(self.encoding)
             accept_encoding = [
             accept_encoding = [
                 encoding.strip() for encoding in
                 encoding.strip() for encoding in