1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

return a message after creating a poll

This commit is contained in:
Thorsten
2016-01-23 21:47:42 +01:00
parent 09f2589321
commit 113b9d94b1

View File

@@ -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()