Commit 3e9aa08c authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Change status in project_list

parent b2f01c00
......@@ -70,14 +70,7 @@ class Command(NoArgsCommand):
try:
project = app.project
project_id = project.id
if project.is_alive:
status = 'ALIVE'
elif project.is_terminated:
status = 'TERMINATED'
elif project.is_suspended:
status = 'SUSPENDED'
else:
status = 'UNKNOWN'
status = project.state_display()
except:
project_id = ''
status = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment