Skip to content

Commit 20d0b40

Browse files
authored
fix a typo (#309)
1 parent 57652f1 commit 20d0b40

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Python/dawgie/fe/app.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ class Axis(enum.Enum):
6565
pass
6666

6767

68+
def current_state():
69+
return json.dumps(
70+
{
71+
'name': dawgie.context.fsm.state,
72+
'ready': dawgie.context.fsm.is_pipeline_active(),
73+
'status': dawgie.context.fsm.transitioning.name,
74+
}
75+
).encode()
76+
77+
6878
def db_lockview():
6979
return json.dumps(dawgie.db.view_locks()).encode()
7080

@@ -88,16 +98,6 @@ def log_messages():
8898
return json.dumps(dawgie.pl.logger.fe.remembered()).encode()
8999

90100

91-
def current_state():
92-
return json.dumps(
93-
{
94-
'name': dawgie.context.fsm.state,
95-
'ready': dawgie.context.fsm.is_pipeline_active(),
96-
'status': dawgie.context.fsm.transition.name,
97-
}
98-
).encode()
99-
100-
101101
def schedule_crew():
102102
return json.dumps(dawgie.pl.farm.crew()).encode()
103103

0 commit comments

Comments
 (0)