This commit is contained in:
parent
15ffe4ce08
commit
08f7caeeec
@ -95,8 +95,11 @@ class AssignmentView(FlaskView):
|
||||
target = redis_client.get(key)
|
||||
if target:
|
||||
name = key[10:]
|
||||
current_scheduling_table[name] = target
|
||||
current_scheduling_table[name] = target.decode('utf-8')
|
||||
|
||||
default_target = redis_client.get('DEFAULT:SCHEDULED')
|
||||
|
||||
if default_target:
|
||||
default_target = default_target.decode('utf-8')
|
||||
|
||||
return jsonify({"scheduling_table": current_scheduling_table, "default_target": default_target})
|
||||
|
Loading…
Reference in New Issue
Block a user