From 113b9d94b10167a71ae1447332e1125eaf0441d1 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 23 Jan 2016 21:47:42 +0100 Subject: [PATCH] return a message after creating a poll --- plugins/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands.py b/plugins/commands.py index 2d29428..c8af2f3 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -900,6 +900,7 @@ def poll(argv, **args): # create an item for each option pollcfg['subject'] = subject pollcfg.update({k: [] for k in choices}) + return {'msg': 'created the poll.'} config.runtime_config_store['plugins']['poll'] = pollcfg config.runtimeconf_persist()