dnf-json: fix small type mismatch in null value assignment

This commit is contained in:
Achilleas Koutsou 2022-03-04 16:58:33 +01:00 committed by Christian Kellner
parent 7346171bd2
commit b34150be6e

View file

@ -269,7 +269,7 @@ class DnfJsonRequestHandler(BaseHTTPRequestHandler):
return cache_folders
def _send(self):
self.client_address = ('',)
self.client_address = ('', 0)
def response_with_dnf_error(self, kind: str, reason: str):
self._send()