We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952dce0 commit 175ebefCopy full SHA for 175ebef
autotimer/src/AutoTimerResource.py
@@ -264,7 +264,8 @@ class AutoTimerAddXMLAutoTimerResource(AutoTimerBaseResource):
264
def render_POST(self, req):
265
req.setResponseCode(http.OK)
266
req.setHeader('Content-type', 'application/xhtml+xml;' )
267
- req.setHeader('charset', 'UTF-8')
+ req.setHeader('charset', 'UTF-8')
268
+ autotimer.readXml() # read current timers to ensure autotimer.timers is populated with current autotimers
269
autotimer.readXmlTimer(req.args['xml'][0])
270
if config.plugins.autotimer.always_write_config.value:
271
autotimer.writeXml()
0 commit comments