cleanup sync messages

This commit is contained in:
kjeld Schouten-Lebbing 2022-01-19 20:34:56 +01:00
parent 1064d1e13f
commit 75c6fe0199
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB

View File

@ -105,8 +105,10 @@ def sync_catalog():
process = subprocess.Popen(["cli", "-c", "app catalog sync_all"], stdout=subprocess.PIPE) process = subprocess.Popen(["cli", "-c", "app catalog sync_all"], stdout=subprocess.PIPE)
while process.poll() is None: while process.poll() is None:
lines = process.stdout.readline() lines = process.stdout.readline()
print (lines) print (lines.decode('utf-8'))
print (process.stdout.read()) temp = process.stdout.read()
if temp:
print (temp.decode('utf-8'))
def docker_prune(): def docker_prune():
if PRUNE: if PRUNE: