From 4cd69dc7ff6b98e1d9efc52bd25a5ac1dfe34310 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Mon, 7 Nov 2022 16:50:16 +0100
Subject: [PATCH] STY: autopep8'ed

---
 src/caosdb/connection/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caosdb/connection/connection.py b/src/caosdb/connection/connection.py
index bde67069..a051b8b9 100644
--- a/src/caosdb/connection/connection.py
+++ b/src/caosdb/connection/connection.py
@@ -75,7 +75,7 @@ class _WrappedHTTPResponse(CaosDBHTTPResponse):
         return self.response.status_code
 
     def read(self, size=None):
-        if size=None or size = 0:
+        if size is None or size = 0:
             result = b''
             for chunk in self.response.iter_content(chunk_size=1024):
                 result = result + chunk
-- 
GitLab