Explorar o código

Remove incorrect argument

In rare cases this can cause a crash.
Unrud %!s(int64=9) %!d(string=hai) anos
pai
achega
9192a7751b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

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