Skip to content

Commit 57a95a9

Browse files
committed
fix no entry during lookup
1 parent 50024f6 commit 57a95a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

students/johnn/project/dcd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ def admin(config):
9494
try:
9595
value = config.get_value(key)
9696
config.sub_queue.put(key)
97+
admin.send_string(value)
9798
except KeyError:
9899
value = None
99-
admin.send_string(value)
100+
admin.send_string("")
100101
if command == "link":
101102
log.info("linking {}".format(value))
102103
config.link_queue.put(value)

0 commit comments

Comments
 (0)