From cfb767ad0f595a197202ec471575f3a9b2e68ace Mon Sep 17 00:00:00 2001 From: derAnfaenger Date: Tue, 31 Oct 2017 23:14:21 +0100 Subject: [PATCH] zulip_bots: Make virtual_fs bot state fully JSON-able. --- zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py b/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py index 01141a8..eba85d7 100644 --- a/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py +++ b/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py @@ -327,7 +327,7 @@ def get_directory(path): return path[:slash] def directory(fns): - return dict(kind='dir', fns=set(fns)) + return dict(kind='dir', fns=list(fns)) def text_file(content): return dict(kind='text', content=content)