This commit is contained in:
parent
08f7caeeec
commit
b03eb1bd08
@ -94,7 +94,7 @@ class AssignmentView(FlaskView):
|
|||||||
for key in redis_client.keys("SCHEDULED:*"):
|
for key in redis_client.keys("SCHEDULED:*"):
|
||||||
target = redis_client.get(key)
|
target = redis_client.get(key)
|
||||||
if target:
|
if target:
|
||||||
name = key[10:]
|
name = key[10:].decode('utf-8')
|
||||||
current_scheduling_table[name] = target.decode('utf-8')
|
current_scheduling_table[name] = target.decode('utf-8')
|
||||||
|
|
||||||
default_target = redis_client.get('DEFAULT:SCHEDULED')
|
default_target = redis_client.get('DEFAULT:SCHEDULED')
|
||||||
|
Loading…
Reference in New Issue
Block a user