mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fixed deploy/run task issue
This commit is contained in:
@@ -12,4 +12,5 @@ from config import BROKER_URL
|
||||
if __name__ == '__main__':
|
||||
p = subprocess.Popen(['celery', 'flower', '-b', BROKER_URL], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
for line in iter(p.stdout.readline, 'b'):
|
||||
print(line.decode('utf-8'))
|
||||
if line.decode('utf-8') != '':
|
||||
print(line.decode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user