Merge pull request #298 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Kayou 2021-09-17 13:54:29 +02:00 committed by GitHub
commit b3b74530da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ class LogPipe(threading.Thread):
def run(self):
"""Run the thread, logging everything."""
for line in iter(self.pipeReader.readline, ""):
self.queue.put((self.log_callback, line.decode('utf-8').strip("\n")))
self.queue.put((self.log_callback, line.decode("utf-8").strip("\n")))
self.pipeReader.close()