zulip_bots: Make virtual_fs bot state fully JSON-able.
This commit is contained in:
		
							parent
							
								
									e5576388dd
								
							
						
					
					
						commit
						cfb767ad0f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 derAnfaenger
						derAnfaenger